mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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
This commit is contained in:
parent
7bf2567c12
commit
d4e9d577be
2 changed files with 8 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue