mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
microvm: add second ioapic
Create second ioapic, route virtio-mmio IRQs to it, allow more virtio-mmio devices (24 instead of 8). Needs ACPI, enabled by default, can be turned off using -machine ioapic2=off Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20201203105423.10431-8-kraxel@redhat.com
This commit is contained in:
parent
e57e9ae799
commit
4d01b8994c
3 changed files with 57 additions and 9 deletions
|
@ -72,6 +72,7 @@
|
|||
#define MICROVM_MACHINE_PIC "pic"
|
||||
#define MICROVM_MACHINE_RTC "rtc"
|
||||
#define MICROVM_MACHINE_PCIE "pcie"
|
||||
#define MICROVM_MACHINE_IOAPIC2 "ioapic2"
|
||||
#define MICROVM_MACHINE_ISA_SERIAL "isa-serial"
|
||||
#define MICROVM_MACHINE_OPTION_ROMS "x-option-roms"
|
||||
#define MICROVM_MACHINE_AUTO_KERNEL_CMDLINE "auto-kernel-cmdline"
|
||||
|
@ -90,6 +91,7 @@ struct MicrovmMachineState {
|
|||
OnOffAuto pit;
|
||||
OnOffAuto rtc;
|
||||
OnOffAuto pcie;
|
||||
OnOffAuto ioapic2;
|
||||
bool isa_serial;
|
||||
bool option_roms;
|
||||
bool auto_kernel_cmdline;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue