You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/target/i386/kvm
Zeng Guang 19e2a9fb9d target/i386: Set maximum APIC ID to KVM prior to vCPU creation
Specify maximum possible APIC ID assigned for current VM session to KVM
prior to the creation of vCPUs. By this setting, KVM can set up VM-scoped
data structure indexed by the APIC ID, e.g. Posted-Interrupt Descriptor
pointer table to support Intel IPI virtualization, with the most optimal
memory footprint.

It can be achieved by calling KVM_ENABLE_CAP for KVM_CAP_MAX_VCPU_ID
capability once KVM has enabled it. Ignoring the return error if KVM
doesn't support this capability yet.

Signed-off-by: Zeng Guang <guang.zeng@intel.com>
Acked-by: Peter Xu <peterx@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220825025246.26618-1-guang.zeng@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2 years ago
..
hyperv-proto.h i386: Hyper-V Direct TLB flush hypercall 3 years ago
hyperv-stub.c hyperv: Add support to process syndbg commands 3 years ago
hyperv.c hyperv: fix SynIC SINT assertion failure on guest reset 2 years ago
hyperv.h
kvm-cpu.c target/i386: Fix sanity check on max APIC ID / X2APIC enablement 3 years ago
kvm-cpu.h i386: split cpu accelerators from cpu.c, using AccelCPUClass 4 years ago
kvm-stub.c target/i386: Set maximum APIC ID to KVM prior to vCPU creation 2 years ago
kvm.c target/i386: Set maximum APIC ID to KVM prior to vCPU creation 2 years ago
kvm_i386.h target/i386: Set maximum APIC ID to KVM prior to vCPU creation 2 years ago
meson.build target/i386/kvm: Restrict SEV stubs to x86 architecture 3 years ago
sev-stub.c Remove qemu-common.h include from most units 3 years ago
trace-events docs: fix references to docs/devel/tracing.rst 4 years ago
trace.h