Skip to content

Commit 8c0590a

Browse files
posk-ioroypat
authored andcommitted
cap: add X2ApicApi capability.
The capability is used to program/remap MSI IRQ routing to vCPUs with IDs larger than 255. Signed-off-by: Peter Oskolkov <[email protected]>
1 parent b04812a commit 8c0590a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

kvm-ioctls/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Upcoming Release
44

5+
- Plumb through KVM_CAP_X2APIC_API as X2ApicApi cap.
6+
57
## v0.23.0
68

79
### Added

kvm-ioctls/src/cap.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,6 @@ pub enum Cap {
167167
MemoryAttributes = KVM_CAP_MEMORY_ATTRIBUTES,
168168
#[cfg(target_arch = "x86_64")]
169169
NestedState = KVM_CAP_NESTED_STATE,
170+
#[cfg(target_arch = "x86_64")]
171+
X2ApicApi = KVM_CAP_X2APIC_API,
170172
}

0 commit comments

Comments
 (0)