aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-15 14:08:55 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-09-17 14:16:19 +0200
commitd4e9d577be587c6f2e41557f7e4ac0b185f0bb1b (patch)
tree6c9b31d9c82d6045c7338f6260ff22e38f5c52c5 /include
parent7bf2567c12320731b115af83f4991bbc9203df70 (diff)
downloadqemu-d4e9d577be587c6f2e41557f7e4ac0b185f0bb1b.zip
qemu-d4e9d577be587c6f2e41557f7e4ac0b185f0bb1b.tar.gz
qemu-d4e9d577be587c6f2e41557f7e4ac0b185f0bb1b.tar.bz2
microvm: make virtio irq base runtime configurable
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-id: 20200915120909.20838-8-kraxel@redhat.com
Diffstat (limited to 'include')
-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 36dbcdd..8759369 100644
--- a/include/hw/i386/microvm.h
+++ b/include/hw/i386/microvm.h
@@ -28,7 +28,6 @@
/* Platform virtio definitions */
#define VIRTIO_MMIO_BASE 0xfeb00000
-#define VIRTIO_IRQ_BASE 5
#define VIRTIO_NUM_TRANSPORTS 8
#define VIRTIO_CMDLINE_MAXLEN 64
@@ -59,6 +58,7 @@ struct MicrovmMachineState {
bool auto_kernel_cmdline;
/* Machine state */
+ uint32_t virtio_irq_base;
bool kernel_cmdline_fixed;
};
typedef struct MicrovmMachineState MicrovmMachineState;