]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Sync cr0 and cr3 to kvm state before nested handling
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Apr 2010 10:33:09 +0000 (12:33 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:20 +0000 (12:19 +0300)
commite5c25706cd83b2556b98c2c98f484dacfcb6b13b
treec43bafd91cf461f51384a6e904604181235e71b8
parent06c8430e8ab968e5204f2b6410c14506fcacdb77
KVM: SVM: Sync cr0 and cr3 to kvm state before nested handling

This patch syncs cr0 and cr3 from the vmcb to the kvm state
before nested intercept handling is done. This allows to
simplify the vmexit path.

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