summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorGerd Hoffmann2020-12-03 11:54:16 +0100
committerGerd Hoffmann2020-12-10 08:47:44 +0100
commit3d09c00704adc1db4769cfa6291d96842f9674f1 (patch)
tree743ce9b8a8ea9aec1a16047630394250b4c5798d /include/hw
parentmicrovm: make number of virtio transports runtime changeable (diff)
downloadqemu-3d09c00704adc1db4769cfa6291d96842f9674f1.tar.gz
qemu-3d09c00704adc1db4769cfa6291d96842f9674f1.tar.xz
qemu-3d09c00704adc1db4769cfa6291d96842f9674f1.zip
microvm: make pcie irq base runtime changeable
Allows to move them in case we have enough irq lines available. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20201203105423.10431-6-kraxel@redhat.com
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/i386/microvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/i386/microvm.h b/include/hw/i386/microvm.h
index c5d60bacb5..f1e9db059b 100644
--- a/include/hw/i386/microvm.h
+++ b/include/hw/i386/microvm.h
@@ -66,7 +66,6 @@
#define PCIE_MMIO_SIZE 0x20000000
#define PCIE_ECAM_BASE 0xe0000000
#define PCIE_ECAM_SIZE 0x10000000
-#define PCIE_IRQ_BASE 12
/* Machine type options */
#define MICROVM_MACHINE_PIT "pit"
@@ -96,6 +95,7 @@ struct MicrovmMachineState {
bool auto_kernel_cmdline;
/* Machine state */
+ uint32_t pcie_irq_base;
uint32_t virtio_irq_base;
uint32_t virtio_num_transports;
bool kernel_cmdline_fixed;