[Feature Request] Steal Time support in ARM #4866
Labels
Good first issue
Indicates a good issue for first-time contributors
Priority: Medium
Indicates than an issue or pull request should be resolved ahead of issues or pull requests labelled
rust
Pull requests that update Rust code
Status: Parked
Indicates that an issues or pull request will be revisited later
Type: Enhancement
Indicates new feature requests
Feature Request
PV Steal Time reporting on ARM is available in KVM since 5.10 at least but Firecracker doesn't enable it.
Describe the desired solution
We could enable the PVTIME device in Firecracker on ARM to allow for stolen time reporting.
Describe possible alternatives
rust-vmm
has some off-the-shelf implementation we could useAdditional context
I found that this is the KVM patch that introduced it: https://lwn.net/Articles/797954/
And this is how QEMU integrated with it: https://patchew.org/QEMU/[email protected]/[email protected]/
It needs to be enabled via ioctl to the vcpu fd, there's an example in the kernel self tests: https://github.com/amazonlinux/linux/blob/kernel-5.10.215-203.850.amzn2/tools/testing/selftests/kvm/steal_time.c#L172
Checks
The text was updated successfully, but these errors were encountered: