Skip to content

Commit 5a169bf

Browse files
dwmw2bonzini
authored andcommitted
x86/kvm: Reserve KVM_FEATURE_MSI_EXT_DEST_ID
No functional change; just reserve the feature bit for now so that VMMs can start to implement it. This will allow the host to indicate that MSI emulation supports 15-bit destination IDs, allowing up to 32768 CPUs without interrupt remapping. cf. https://patchwork.kernel.org/patch/11816693/ for qemu Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <4cd59bed05f4b7410d3d1ffd1e997ab53683874d.camel@infradead.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 3650b22 commit 5a169bf

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎Documentation/virt/kvm/cpuid.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ KVM_FEATURE_ASYNC_PF_INT 14 guest checks this feature bit
9292
async pf acknowledgment msr
9393
0x4b564d07.
9494

95+
KVM_FEATURE_MSI_EXT_DEST_ID 15 guest checks this feature bit
96+
before using extended destination
97+
ID bits in MSI address bits 11-5.
98+
9599
KVM_FEATURE_CLOCKSOURCE_STABLE_BIT 24 host will warn if no guest-side
96100
per-cpu warps are expected in
97101
kvmclock

‎arch/x86/include/uapi/asm/kvm_para.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#define KVM_FEATURE_POLL_CONTROL 12
3333
#define KVM_FEATURE_PV_SCHED_YIELD 13
3434
#define KVM_FEATURE_ASYNC_PF_INT 14
35+
#define KVM_FEATURE_MSI_EXT_DEST_ID 15
3536

3637
#define KVM_HINTS_REALTIME 0
3738

0 commit comments

Comments
 (0)