KVM: arm64: Move 'struct kvm_arch_memory_slot' out of uapi/
authorWill Deacon <will@kernel.org>
Wed, 18 Nov 2020 19:44:00 +0000 (19:44 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 27 Nov 2020 18:59:05 +0000 (18:59 +0000)
'struct kvm_arch_memory_slot' isn't part of the user ABI, so move it out
of the uapi/ headers in case we start using it in future and accidentally
back ourselves into a corner.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201118194402.2892-2-will@kernel.org
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/uapi/asm/kvm.h

index 781d029..32db719 100644 (file)
@@ -89,6 +89,9 @@ struct kvm_s2_mmu {
        struct kvm *kvm;
 };
 
+struct kvm_arch_memory_slot {
+};
+
 struct kvm_arch {
        struct kvm_s2_mmu mmu;
 
index 1c17c3a..24223ad 100644 (file)
@@ -156,9 +156,6 @@ struct kvm_sync_regs {
        __u64 device_irq_level;
 };
 
-struct kvm_arch_memory_slot {
-};
-
 /*
  * PMU filter structure. Describe a range of events with a particular
  * action. To be used with KVM_ARM_VCPU_PMU_V3_FILTER.