]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: SVM: set accessed bit for VMCB segment selectors
authorAndre Przywara <andre.przywara@amd.com>
Sun, 11 Jan 2009 21:39:44 +0000 (22:39 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:11 +0000 (11:03 +0200)
commit1fbdc7a58512a6283e10fd27108197679db95ffa
tree3bf28be900d822b54b76afce97d9ed4d6a4ede5f
parent4925663a079c77d95d8685228ad6675fc5639c8e
KVM: SVM: set accessed bit for VMCB segment selectors

In the segment descriptor _cache_ the accessed bit is always set
(although it can be cleared in the descriptor itself). Since Intel
checks for this condition on a VMENTRY, set this bit in the AMD path
to enable cross vendor migration.

Cc: stable@kernel.org
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Acked-By: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c