mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
microvm: add device tree support.
Allows edk2 detect virtio-mmio devices and pcie ecam. See comment in hw/i386/microvm-dt.c for more details. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-Id: <20211014193617.2475578-1-kraxel@redhat.com>
This commit is contained in:
parent
584ab347ce
commit
f5918a9928
8 changed files with 358 additions and 2 deletions
|
@ -104,6 +104,10 @@ struct MicrovmMachineState {
|
|||
Notifier machine_done;
|
||||
Notifier powerdown_req;
|
||||
struct GPEXConfig gpex;
|
||||
|
||||
/* device tree */
|
||||
void *fdt;
|
||||
uint32_t ioapic_phandle[2];
|
||||
};
|
||||
|
||||
#define TYPE_MICROVM_MACHINE MACHINE_TYPE_NAME("microvm")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue