path: root/virt
diff options
authorSean Christopherson <>2020-07-02 19:35:38 -0700
committerPaolo Bonzini <>2020-07-09 13:29:42 -0400
commit2aa9c199cf8151c190c7e7ca3ddfcfbb2d85ac36 (patch)
treed17c6d523734ff93e3a7e0027d4a8fb163484b86 /virt
parent94ce87ef8177e436c5ee46b211c4e0cf490ae389 (diff)
KVM: Move x86's version of struct kvm_mmu_memory_cache to common code
Move x86's 'struct kvm_mmu_memory_cache' to common code in anticipation of moving the entire x86 implementation code to common KVM and reusing it for arm64 and MIPS. Add a new architecture specific asm/kvm_types.h to control the existence and parameters of the struct. The new header is needed to avoid a chicken-and-egg problem with asm/kvm_host.h as all architectures define instances of the struct in their vCPU structs. Add an asm-generic version of kvm_types.h to avoid having empty files on PPC and s390 in the long term, and for arm64 and mips in the short term. Suggested-by: Christoffer Dall <> Reviewed-by: Ben Gardon <> Signed-off-by: Sean Christopherson <> Message-Id: <> Signed-off-by: Paolo Bonzini <>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions