kvm: selftest: pass in extra memory when create vm
authorPeter Xu <peterx@redhat.com>
Wed, 22 Aug 2018 07:19:59 +0000 (15:19 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Aug 2018 14:48:38 +0000 (16:48 +0200)
commitaee41be5933fdd1cd6fbd80b31954585e3520d98
tree66aa31aa3139475eb5241f0ba830f369ae8393fd
parentbc8eb2fe2eefbcf66c947daebce7055a4110c66c
kvm: selftest: pass in extra memory when create vm

This information can be used to decide the size of the default memory
slot, which will need to cover the extra pages with page tables.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/cr4_cpuid_sync_test.c
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/x86.c
tools/testing/selftests/kvm/set_sregs_test.c
tools/testing/selftests/kvm/state_test.c
tools/testing/selftests/kvm/sync_regs_test.c
tools/testing/selftests/kvm/vmx_tsc_adjust_test.c