Skip to content

Commit

Permalink
cap: add KvmCapStealTime capability
Browse files Browse the repository at this point in the history
This capability is used for kvm steal time feature.

Signed-off-by: xuejun-xj <[email protected]>
  • Loading branch information
xuejun-xj committed Oct 13, 2023
1 parent 998887e commit 645fe6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
## Changed
- [[#234](https://github.com/rust-vmm/kvm-ioctls/issues/234)] vcpu: export
reg_size as a public method.
- [[#239](https://github.com/rust-vmm/kvm-ioctls/pull/239)] cap: add KvmCapStealTime
capability.

# v0.15.0

Expand Down
2 changes: 2 additions & 0 deletions src/cap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,6 @@ pub enum Cap {
ArmPtrAuthAddress = KVM_CAP_ARM_PTRAUTH_ADDRESS,
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
ArmPtrAuthGeneric = KVM_CAP_ARM_PTRAUTH_GENERIC,
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
StealTime = KVM_CAP_STEAL_TIME,
}

0 comments on commit 645fe6f

Please sign in to comment.