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-dt.h | |
parent | 584ab347ce9e65617f5981d209756db83a824813 (diff) | |
download | qemu-f5918a992839454c6e87234760bdf7aee804aa33.zip qemu-f5918a992839454c6e87234760bdf7aee804aa33.tar.gz qemu-f5918a992839454c6e87234760bdf7aee804aa33.tar.bz2 |
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-dt.h')
-rw-r--r-- | hw/i386/microvm-dt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/i386/microvm-dt.h b/hw/i386/microvm-dt.h new file mode 100644 index 0000000..77c79cb --- /dev/null +++ b/hw/i386/microvm-dt.h @@ -0,0 +1,8 @@ +#ifndef HW_I386_MICROVM_DT_H +#define HW_I386_MICROVM_DT_H + +#include "hw/i386/microvm.h" + +void dt_setup_microvm(MicrovmMachineState *mms); + +#endif |