diff options
author | Roedel, Joerg <Joerg.Roedel@amd.com> | 2010-05-06 05:38:43 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-19 04:36:39 -0400 |
commit | b69e8caef5b190af48c525f6d715e7b7728a77f6 (patch) | |
tree | 102d0728a1c8ae0b698e6f746cd40a67dfc2db94 /arch/ia64 | |
parent | 0d945bd9351199744c1e89d57a70615b6ee9f394 (diff) |
KVM: x86: Inject #GP with the right rip on efer writes
This patch fixes a bug in the KVM efer-msr write path. If a
guest writes to a reserved efer bit the set_efer function
injects the #GP directly. The architecture dependent wrmsr
function does not see this, assumes success and advances the
rip. This results in a #GP in the guest with the wrong rip.
This patch fixes this by reporting efer write errors back to
the architectural wrmsr function.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions