diff options
author | Joerg Roedel <joro@8bytes.org> | 2015-10-14 16:10:54 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-16 11:32:17 +0300 |
commit | 6092d3d3e6db983048469d424a8f2221915a8dd3 (patch) | |
tree | ba6b6b6bc3fc5359267dfe695d7fcd13420b2f22 /arch/x86/kvm/paging_tmpl.h | |
parent | 951f9fd74f2d826fff1d84a8ec34b491517dc15d (diff) | |
download | linux-6092d3d3e6db983048469d424a8f2221915a8dd3.tar.xz |
kvm: svm: Only propagate next_rip when guest supports it
Currently we always write the next_rip of the shadow vmcb to
the guests vmcb when we emulate a vmexit. This could confuse
the guest when its cpuid indicated no support for the
next_rip feature.
Fix this by only propagating next_rip if the guest actually
supports it.
Cc: Bandan Das <bsd@redhat.com>
Cc: Dirk Mueller <dmueller@suse.com>
Tested-By: Dirk Mueller <dmueller@suse.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions