Re: [PATCH] KVM: selftests: introduce P47V64 for s390x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 08.06.21 13:49, Janosch Frank wrote:
On 6/8/21 1:45 PM, Christian Borntraeger wrote:
s390x can have up to 47bits of physical guest and 64bits of virtual
address  bits. Add a new address mode to avoid errors of testcases
going beyond 47bits.

Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
---
  tools/testing/selftests/kvm/include/kvm_util.h | 3 ++-
  tools/testing/selftests/kvm/lib/kvm_util.c     | 5 +++++
  2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/kvm/include/kvm_util.h b/tools/testing/selftests/kvm/include/kvm_util.h
index fcd8e3855111..6d3f71822976 100644
--- a/tools/testing/selftests/kvm/include/kvm_util.h
+++ b/tools/testing/selftests/kvm/include/kvm_util.h
@@ -43,6 +43,7 @@ enum vm_guest_mode {
  	VM_MODE_P40V48_4K,
  	VM_MODE_P40V48_64K,
  	VM_MODE_PXXV48_4K,	/* For 48bits VA but ANY bits PA */
+	VM_MODE_P47V64_4K,	/* For 48bits VA but ANY bits PA */

/* 64 bits VA but 47 bits PA */

Or, looking at the other entries above, just remove it.
Yes, will remove.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux