KVM: SVM: Fix fault-rip on vmsave/vmload emulation
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 6 Apr 2011 10:30:03 +0000 (12:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:06 +0000 (07:57 -0400)
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>

No differences found