diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2022-03-03 15:41:14 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-02 05:41:12 -0400 |
| commit | 916d3608df8265a2e3f6214200dbb0b39a5ca383 (patch) | |
| tree | bd74490bcbd216b492a1f125ff778343322bfa47 /include/linux/stackdepot.h | |
| parent | a795cd43c5b5819b8ee94690f22caa5e2e4d8620 (diff) | |
KVM: x86: Use gfn_to_pfn_cache for pv_time
Add a new kvm_setup_guest_pvclock() which parallels the existing
kvm_setup_pvclock_page(). The latter will be removed once we convert
all users to the gfn_to_pfn_cache version.
Using the new cache, we can potentially let kvm_set_guest_paused() set
the PVCLOCK_GUEST_STOPPED bit directly rather than having to delegate
to the vCPU via KVM_REQ_CLOCK_UPDATE. But not yet.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220303154127.202856-5-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/stackdepot.h')
0 files changed, 0 insertions, 0 deletions
