KVM: SVM: Sync all control registers on nested vmexit
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Feb 2010 15:23:03 +0000 (16:23 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:34:13 +0000 (12:34 +0300)
commitcdbbdc1210223879450555fee04c29ebf116576b
tree1c026d7307c7d022976ccd8b8bcf69ccfeaf1908
parentb8e88bc8ffba5fe53fb8d8a0a4be3bbcffeebe56
KVM: SVM: Sync all control registers on nested vmexit

Currently the vmexit emulation does not sync control
registers were the access is typically intercepted by the
nested hypervisor. But we can not count on that intercepts
to sync these registers too and make the code
architecturally more correct.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c