Skip to content

Commit 2d5f141

Browse files
committed
doc: add CHANGELOG entry for KVM_KVMCLOCK_CTRL ioctl
Mention that we now call KVM_KVMCLOCK_CTRL ioctl on x86_64 after pausing vCPUs. Clarify that failures to call this ioctl are not fatal and that we log the failure and increase a metric when these happen. Signed-off-by: Babis Chalios <[email protected]>
1 parent badc4cc commit 2d5f141

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ and this project adheres to
1414
`VIRTIO_NET_F_RX_MRGBUF` support to the `virtio-net` device. When this feature
1515
is negotiated, guest `virtio-net` driver can perform more efficient memory
1616
management which in turn improves RX and TX performance.
17+
- [#4460](https://github.com/firecracker-microvm/firecracker/pull/4460): Add a
18+
call to
19+
[`KVM_KVMCLOCK_CTRL`](https://docs.kernel.org/virt/kvm/api.html#kvm-kvmclock-ctrl)
20+
after pausing vCPUs on x86_64 architectures. This ioctl sets a flag in the KVM
21+
state of the vCPU indicating that it has been paused by the host userspace. In
22+
guests that use kvmclock, the soft lockup watchdog checks this flag. If it is
23+
set, it won't trigger the lockup condition. Calling the ioctl for guests that
24+
don't use kvmclock will fail. These failures are not fatal. We log the failure
25+
and increase the `vcpu.kvmclock_ctrl_fails` metric.
1726

1827
### Changed
1928

0 commit comments

Comments
 (0)