Skip to content

Conversation

xuejun-xj
Copy link
Contributor

This capability is used for kvm steal time feature.

Docs for KVM_CAP_STEAL_TIME

Copy link
Member

@roypat roypat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHANGELOG.md Outdated
Comment on lines 8 to 9
- [[#239](https://github.com/rust-vmm/kvm-ioctls/pull/239)] cap: add KvmCapStealTime
capability.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: In 0.15.0 we phrase capability addition as "Add Cap::KvmCapStealTime capability". Could we keep these consistent? :o

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks. I will fix later.

This capability is used for kvm steal time feature.

Signed-off-by: xuejun-xj <[email protected]>
@xuejun-xj
Copy link
Contributor Author

xuejun-xj commented Oct 13, 2023

Do you think there's value in adding testing similar to https://github.com/bchalios/kvm-ioctls/blob/0177432e14e697db0d88a1dd753179d639b9e4c2/src/ioctls/vcpu.rs#L2789-L2806?

Hi @roypat! Thanks for the reminder. I have add a test case(test_kvm_steal_time_capability) for aarch64. Is there anyone can help me to add test case for x86_64? According to the docs, it may be initialized with another path on x86_64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants