KVM: x86: deprecate -M kernel-irqchip=off except for -M isapc
commit2c933ac6a883606b85f8cf271bfb40379d077e97
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Mar 2021 11:14:14 +0000 (1 12:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 6 Mar 2021 10:41:54 +0000 (6 11:41 +0100)
treec5db6ab7750d90dae226389b177e5fff440bd09c
parentc6986f16a7022ccfb73d91bc7676c8e1d15e5342
KVM: x86: deprecate -M kernel-irqchip=off except for -M isapc

The userspace local APIC is basically untested and does not support many
features such as TSC deadline timer, x2APIC or PV spinlocks.  On the
other hand, the PIT and IOAPIC are okay as they are not tied to
the processor and are tested with -M kernel-irqchip=split.

Therefore, deprecate the local APIC and, with it, limit
-M kernel-irqchip=off to the ISA PC machine type, which does not
have a local APIC at all.

Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/system/deprecated.rst
hw/intc/apic.c