diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-11-21 19:24:08 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-11-21 19:58:25 +0300 |
commit | e9e60c82fe391d04db55a91c733df4a017c28b2f (patch) | |
tree | d8c4917325c24342046d0868e2fdbc1e07e6519f /arch/powerpc | |
parent | 6c370dc65374db5afbc5c6c64c662f922a2555ad (diff) | |
download | linux-e9e60c82fe391d04db55a91c733df4a017c28b2f.tar.xz |
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/powerpc')
0 files changed, 0 insertions, 0 deletions