diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-11-21 17:24:08 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-11-21 17:58:25 +0100 |
commit | e9e60c82fe391d04db55a91c733df4a017c28b2f (patch) | |
tree | d8c4917325c24342046d0868e2fdbc1e07e6519f /arch/x86/kvm | |
parent | Merge branch 'kvm-guestmemfd' into HEAD (diff) | |
download | linux-e9e60c82fe391d04db55a91c733df4a017c28b2f.tar.xz linux-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 <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
0 files changed, 0 insertions, 0 deletions