Skip to content

Commit 13fdeeb

Browse files
committed
cap: add KvmCapStealTime capability
This capability is used for kvm steal time feature. Signed-off-by: xuejun-xj <[email protected]>
1 parent 998887e commit 13fdeeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cap.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,6 @@ pub enum Cap {
162162
ArmPtrAuthAddress = KVM_CAP_ARM_PTRAUTH_ADDRESS,
163163
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
164164
ArmPtrAuthGeneric = KVM_CAP_ARM_PTRAUTH_GENERIC,
165+
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
166+
StealTime = KVM_CAP_STEAL_TIME,
165167
}

0 commit comments

Comments
 (0)