diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-15 14:08:55 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-17 14:16:19 +0200 |
commit | d4e9d577be587c6f2e41557f7e4ac0b185f0bb1b (patch) | |
tree | 6c9b31d9c82d6045c7338f6260ff22e38f5c52c5 /include/hw/i386/microvm.h | |
parent | 7bf2567c12320731b115af83f4991bbc9203df70 (diff) |
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/hw/i386/microvm.h')
-rw-r--r-- | include/hw/i386/microvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/i386/microvm.h b/include/hw/i386/microvm.h index 36dbcdd123..87593694eb 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; |