Messages in this thread | | | Date | Wed, 22 Nov 2023 09:02:13 +1000 | Subject | Re: [PATCH] selftests/kvm: fix compilation on non-x86_64 platforms | From | Gavin Shan <> |
| |
On 11/22/23 02:59, Paolo Bonzini wrote: > 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", 2023-11-14) > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> > --- > tools/testing/selftests/kvm/set_memory_region_test.c | 12 ++++++------ > 1 files changed, 6 insertions(+), 6 deletions(-) >
Reviewed-by: Gavin Shan <gshan@redhat.com>
| |