diff options
author | Avi Kivity <avi@redhat.com> | 2010-06-10 18:02:14 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 11:46:32 +0400 |
commit | 49a9b07edcf4aff159c1f3d3a27e58cf38bc27cd (patch) | |
tree | 750ff11b09e7baa3f4c811ce7c85bf7546b051ae /firmware/e100 | |
parent | 2acf923e38fb6a4ce0c57115decbb38d334902ac (diff) | |
download | linux-49a9b07edcf4aff159c1f3d3a27e58cf38bc27cd.tar.xz |
KVM: Fix mov cr0 #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 'firmware/e100')
0 files changed, 0 insertions, 0 deletions