aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-12-18 13:54:52 -0800
committerPaolo Bonzini <[email protected]>2020-01-24 09:18:55 +0100
commita9dd6f09d7e54d3f58be32d7d051196f7a00e69e (patch)
tree5878449542dac778cd20368045b5f693d86821df /scripts/gdb/linux/modules.py
parent7f27179a88a693f2d357860fddef65704578edf5 (diff)
KVM: x86: Allocate vcpu struct in common x86 code
Move allocation of VMX and SVM vcpus to common x86. Although the struct being allocated is technically a VMX/SVM struct, it can be interpreted directly as a 'struct kvm_vcpu' because of the pre-existing requirement that 'struct kvm_vcpu' be located at offset zero of the arch/vendor vcpu struct. Remove the message from the build-time assertions regarding placement of the struct, as compatibility with the arch usercopy region is no longer the sole dependent on 'struct kvm_vcpu' being at offset zero. Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions