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)
commit19bca6ab75d8118ae970fcc656359ddb467ac763
tree3f63eba121f3dd7994330087d65ad085c7e79f3a
parenta4d7749be5de4a7261bcbe3c7d96c748792ec455
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