KVM: selftests: guest_memfd mmap() test when mapping is allowed

Expand the guest_memfd selftests to include testing mapping guest
memory for VM types that support it.

Change-Id: I3db881ea99aeaf47b6ff1c5acf82335297a1b065
Reviewed-by: James Houghton <jthoughton@google.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Co-developed-by: Ackerley Tng <ackerleytng@google.com>
Signed-off-by: Ackerley Tng <ackerleytng@google.com>
Signed-off-by: Fuad Tabba <tabba@google.com>
1 file changed