rust-vmm / kvm-ioctls

Apache License 2.0
255 stars 103 forks source link

cap: add KvmCapStealTime capability #239

Open xuejun-xj opened 9 months ago

xuejun-xj commented 9 months ago

This capability is used for kvm steal time feature.

Docs for KVM_CAP_STEAL_TIME

xuejun-xj commented 8 months ago

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.