KVM: Let vcpu structure alignment be determined at runtime
authorAvi Kivity <avi@redhat.com>
Wed, 28 Apr 2010 12:39:01 +0000 (15:39 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:29 +0000 (11:36 +0300)
commit0ee75bead83da4791e5cbf659806c54d8ee40f12
tree3b3856aac1fc94d153f9e6c27f383f81be06185a
parent884a0ff0b68b3ece5987507de168215e14ef7849
KVM: Let vcpu structure alignment be determined at runtime

vmx and svm vcpus have different contents and therefore may have different
alignmment requirements.  Let each specify its required alignment.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/vmm.c
arch/powerpc/kvm/44x.c
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/e500.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c