diff options
| author | 2021-05-12 12:31:06 +0800 | |
|---|---|---|
| committer | 2021-05-27 07:45:53 -0400 | |
| commit | 39fe2fc96694164723846fccf6caa42c3aee6ec4 (patch) | |
| tree | 56d77e22b8dc055e513bdf0fe0f84c30ddce6167 /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: X86: hyper-v: Task srcu lock when accessing kvm_memslots() (diff) | |
| download | linux-dev-39fe2fc96694164723846fccf6caa42c3aee6ec4.tar.xz linux-dev-39fe2fc96694164723846fccf6caa42c3aee6ec4.zip | |
selftests: kvm: make allocation of extra memory take effect
The extra memory pages is missed to be allocated during VM creating.
perf_test_util and kvm_page_table_test use it to alloc extra memory
currently.
Fix it by adding extra_mem_pages to the total memory calculation before
allocate.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-Id: <20210512043107.30076-1-zhenzhong.duan@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
