1
0

KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits

This will be required later for tests like the kvm_create_max_vcpus
test that do not use the vm_create_default() function.

Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190523164309.13345-5-thuth@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Este cometimento está contido em:
Thomas Huth
2019-05-23 18:43:04 +02:00
cometido por Christian Borntraeger
ascendente a9c788f073
cometimento fe85ec86fc
3 ficheiros modificados com 8 adições e 2 eliminações

Ver ficheiro

@@ -43,6 +43,12 @@ enum vm_guest_mode {
NUM_VM_MODES,
};
#ifdef __aarch64__
#define VM_MODE_DEFAULT VM_MODE_P40V48_4K
#else
#define VM_MODE_DEFAULT VM_MODE_P52V48_4K
#endif
#define vm_guest_mode_string(m) vm_guest_mode_string[m]
extern const char * const vm_guest_mode_string[];