Skip to content

Commit 782cdcb

Browse files
rbradfordSamuel Ortiz
authored andcommitted
cap: Add HypervSynic and HypervSynic2 to Caps enum
This enum is used for the kvm.check_extension() functionality. Signed-off-by: Rob Bradford <[email protected]>
1 parent 334c9a3 commit 782cdcb

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
@@ -142,4 +142,6 @@ pub enum Cap {
142142
ImmediateExit = KVM_CAP_IMMEDIATE_EXIT,
143143
ArmVmIPASize = KVM_CAP_ARM_VM_IPA_SIZE,
144144
MsiDevid = KVM_CAP_MSI_DEVID,
145+
HypervSynic = KVM_CAP_HYPERV_SYNIC,
146+
HypervSynic2 = KVM_CAP_HYPERV_SYNIC2,
145147
}

0 commit comments

Comments
 (0)