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 13fdeeb
Showing 1 changed file with 2 additions and 0 deletions.
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 13fdeeb

Please sign in to comment.