diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2021-10-14 21:36:17 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-11-02 17:24:17 +0100 |
| commit | f5918a992839454c6e87234760bdf7aee804aa33 (patch) | |
| tree | 605cce368374fdff9be23b028f96979d093fc63f /hw/i386/microvm.c | |
| parent | 584ab347ce9e65617f5981d209756db83a824813 (diff) | |
| download | focaccia-qemu-f5918a992839454c6e87234760bdf7aee804aa33.tar.gz focaccia-qemu-f5918a992839454c6e87234760bdf7aee804aa33.zip | |
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>
Diffstat (limited to 'hw/i386/microvm.c')
| -rw-r--r-- | hw/i386/microvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/microvm.c b/hw/i386/microvm.c index f257ec5a0b..8d6ebea341 100644 --- a/hw/i386/microvm.c +++ b/hw/i386/microvm.c @@ -28,6 +28,7 @@ #include "sysemu/reset.h" #include "sysemu/runstate.h" #include "acpi-microvm.h" +#include "microvm-dt.h" #include "hw/loader.h" #include "hw/irq.h" @@ -626,6 +627,7 @@ static void microvm_machine_done(Notifier *notifier, void *data) machine_done); acpi_setup_microvm(mms); + dt_setup_microvm(mms); } static void microvm_powerdown_req(Notifier *notifier, void *data) |