aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBen Gardon <bgardon@google.com>2019-01-16 09:41:15 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-01-25 19:11:36 +0100
commit94a980c39c8e3f8abaff5d3b5bbcd4ccf1c02c4f (patch)
tree83eb8ebd0b190eec81d6de52bb16b3342cf3d602 /arch
parentkvm: vmx: fix some -Wmissing-prototypes warnings (diff)
downloadlinux-dev-94a980c39c8e3f8abaff5d3b5bbcd4ccf1c02c4f.tar.xz
linux-dev-94a980c39c8e3f8abaff5d3b5bbcd4ccf1c02c4f.zip
kvm: selftests: Fix region overlap check in kvm_util
Fix a call to userspace_mem_region_find to conform to its spec of taking an inclusive, inclusive range. It was previously being called with an inclusive, exclusive range. Also remove a redundant region bounds check in vm_userspace_mem_region_add. Region overlap checking is already performed by the call to userspace_mem_region_find. Tested: Compiled tools/testing/selftests/kvm with -static Ran all resulting test binaries on an Intel Haswell test machine All tests passed Signed-off-by: Ben Gardon <bgardon@google.com> Reviewed-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions