]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm: Don't waste kvmclock memory if there is nopv parameter
authorWanpeng Li <wanpengli@tencent.com>
Tue, 8 Mar 2022 08:18:49 +0000 (00:18 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Apr 2022 17:37:19 +0000 (13:37 -0400)
commit7f50ec88eb5b6f02318bbb7e45ce0c8f5296ef22
tree6118447668ef02b61d99513de6274d897328fda3
parent271b912a6ad9fb7ef46c507a09c110c376a84442
x86/kvm: Don't waste kvmclock memory if there is nopv parameter

When the "nopv" command line parameter is used, it should not waste
memory for kvmclock.

Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1646727529-11774-1-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kernel/kvmclock.c