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