diff options
author | Avi Kivity | 2010-06-10 16:02:16 +0200 |
---|---|---|
committer | Avi Kivity | 2010-08-01 09:46:35 +0200 |
commit | 2390218b6aa2eb3784b0a82fa811c19097dc793a (patch) | |
tree | facf41c6ed5c3d2eafa939e7ab9209cc1594cddb /arch/.gitignore | |
parent | KVM: Fix mov cr4 #GP at wrong instruction (diff) | |
download | kernel-qcow2-linux-2390218b6aa2eb3784b0a82fa811c19097dc793a.tar.gz kernel-qcow2-linux-2390218b6aa2eb3784b0a82fa811c19097dc793a.tar.xz kernel-qcow2-linux-2390218b6aa2eb3784b0a82fa811c19097dc793a.zip |
KVM: Fix mov cr3 #GP at wrong instruction
On Intel, we call skip_emulated_instruction() even if we injected a #GP,
resulting in the #GP pointing at the wrong address.
Fix by injecting the exception and skipping the instruction at the same place,
so we can do just one or the other.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions