]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
kvm: selftests: aarch64: fix default vm mode
authorAndrew Jones <drjones@redhat.com>
Thu, 23 May 2019 11:05:46 +0000 (13:05 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 May 2019 19:27:16 +0000 (21:27 +0200)
commit55eda003f02f075bab0223a188e548dbf3ac8dfe
tree5f181dc6d36bf86fe4340b45b8a1b98cab52f679
parentbffed38d4fb536c5d5d6c37846a7fb8fde1452fa
kvm: selftests: aarch64: fix default vm mode

VM_MODE_P52V48_4K is not a valid mode for AArch64. Replace its
use in vm_create_default() with a mode that works and represents
a good AArch64 default. (We didn't ever see a problem with this
because we don't have any unit tests using vm_create_default(),
but it's good to get it fixed in advance.)

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/aarch64/processor.c