diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2022-02-22 12:02:03 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-25 18:09:34 +0300 |
commit | 3c51d0a6c761c2025c6db1ed4d3a7273167bf899 (patch) | |
tree | 8810288e3d48c3a5997391d3840d05f05ee1a94e /Documentation/sphinx-static | |
parent | 40cd58dbf121e1d0c18f1bd4dd10335ae45a28fc (diff) | |
download | linux-3c51d0a6c761c2025c6db1ed4d3a7273167bf899.tar.xz |
x86/kvm: Don't waste memory if kvmclock is disabled
Even if "no-kvmclock" is passed in cmdline parameter, the guest kernel
still allocates hvclock_mem which is scaled by the number of vCPUs,
let's check kvmclock enable in advance to avoid this memory waste.
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1645520523-30814-1-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/sphinx-static')
0 files changed, 0 insertions, 0 deletions