mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
KVM: selftests: Use vm_create_with_vcpus in create_vm
Reviewed-by: Ben Gardon <bgardon@google.com> Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <20201218141734.54359-3-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
e42ac777d6
commit
1133e17ea7
@@ -153,14 +153,7 @@ const char * const vm_guest_mode_string[] = {
|
||||
_Static_assert(sizeof(vm_guest_mode_string)/sizeof(char *) == NUM_VM_MODES,
|
||||
"Missing new mode strings?");
|
||||
|
||||
struct vm_guest_mode_params {
|
||||
unsigned int pa_bits;
|
||||
unsigned int va_bits;
|
||||
unsigned int page_size;
|
||||
unsigned int page_shift;
|
||||
};
|
||||
|
||||
static const struct vm_guest_mode_params vm_guest_mode_params[] = {
|
||||
const struct vm_guest_mode_params vm_guest_mode_params[] = {
|
||||
{ 52, 48, 0x1000, 12 },
|
||||
{ 52, 48, 0x10000, 16 },
|
||||
{ 48, 48, 0x1000, 12 },
|
||||
|
Reference in New Issue
Block a user