aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2023-11-21 16:24:08 +0000
committerPaolo Bonzini <[email protected]>2023-11-21 16:58:25 +0000
commite9e60c82fe391d04db55a91c733df4a017c28b2f (patch)
treed8c4917325c24342046d0868e2fdbc1e07e6519f /arch/x86/kvm/svm/nested.c
parentMerge branch 'kvm-guestmemfd' into HEAD (diff)
downloadkernel-e9e60c82fe391d04db55a91c733df4a017c28b2f.tar.gz
kernel-e9e60c82fe391d04db55a91c733df4a017c28b2f.zip
selftests/kvm: fix compilation on non-x86_64 platforms
MEM_REGION_SLOT and MEM_REGION_GPA are not really needed in test_invalid_memory_region_flags; the VM never runs and there are no other slots, so it is okay to use slot 0 and place it at address zero. This fixes compilation on architectures that do not define them. Fixes: 5d74316466f4 ("KVM: selftests: Add a memory region subtest to validate invalid flags") Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions