diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-04-06 12:30:03 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 07:57:06 -0400 |
commit | e3e9ed3d2c443fd90a04fb7ff231ad53ef087417 (patch) | |
tree | 527e793d02a79cbacc21348aaeda9d67f880dc51 /arch/x86/kvm/emulate.c | |
parent | 92a1f12d2598f429bd8639e21d89305e787115c5 (diff) | |
download | kernel_samsung_tuna-e3e9ed3d2c443fd90a04fb7ff231ad53ef087417.zip kernel_samsung_tuna-e3e9ed3d2c443fd90a04fb7ff231ad53ef087417.tar.gz kernel_samsung_tuna-e3e9ed3d2c443fd90a04fb7ff231ad53ef087417.tar.bz2 |
KVM: SVM: Fix fault-rip on vmsave/vmload emulation
When the emulation of vmload or vmsave fails because the
guest passed an unsupported physical address it gets an #GP
with rip pointing to the instruction after vmsave/vmload.
This is a bug and fixed by this patch.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions