]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Fix cross vendor migration issue with unusable bit
authorAndre Przywara <andre.przywara@amd.com>
Tue, 28 Apr 2009 10:45:30 +0000 (12:45 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 11 May 2009 08:18:04 +0000 (11:18 +0300)
commit16944832a280f707c22d10da56cf800309172921
tree3f63eba121f3dd7994330087d65ad085c7e79f3a
parentefb6e8939dfad29c83c56806675ce55588eb58ef
KVM: SVM: Fix cross vendor migration issue with unusable bit

AMDs VMCB does not have an explicit unusable segment descriptor field,
so we emulate it by using "not present". This has to be setup before
the fixups, because this field is used there.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c