KVM: selftests: Add "delete" testcase to set_memory_region_test
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 10 Apr 2020 23:17:03 +0000 (16:17 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Apr 2020 16:08:44 +0000 (12:08 -0400)
commit8fb38f05ca9ffcca895d545a68a02f9a312c30d5
tree1878da4081f7f52dd9dfe947fcbf98697cb64229
parent8a0639fe9201ed7af73dd40fc4b6f9a4f7b16a42
KVM: selftests: Add "delete" testcase to set_memory_region_test

Add a testcase for deleting memslots while the guest is running.
Like the "move" testcase, this is x86_64-only as it relies on MMIO
happening when a non-existent memslot is encountered.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200410231707.7128-7-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/set_memory_region_test.c