diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-16 18:15:32 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-01 03:44:47 -0400 |
| commit | 6b6fcd2804a2dcc86068859188708ee57c7ca19f (patch) | |
| tree | 3509f0ac652d0f4f907674620e3d0505fcebde05 /scripts/gdb/linux/tasks.py | |
| parent | 3e44dce4d0aeb3582b87c7bb8a79d69fa406eee5 (diff) | |
kvm: x86: abstract locking around pvclock_update_vm_gtod_copy
Updates to the kvmclock parameters needs to do a complicated dance of
KVM_REQ_MCLOCK_INPROGRESS and KVM_REQ_CLOCK_UPDATE in addition to taking
pvclock_gtod_sync_lock. Place that in two functions that can be called
on all of master clock update, KVM_SET_CLOCK, and Hyper-V reenlightenment.
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
