mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue