On Thu, Oct 30, 2025 at 03:32:04PM +0100, Luigi Leonardi wrote:
MachineState already provides an fdt field, remove it from
MicrovmMachineState and use that instead.

This is useful when using the `dumpdtb` option, as QEMU expects the
device tree to be stored in the MachineState struct, othwise it will

s/othwise/otherwise

return this error:

qemu-system-x86_64: This machine doesn't have an FDT

Signed-off-by: Luigi Leonardi <[email protected]>
---
`fdt` field is already available in `MachineState` but
`MicrovmMachineState` uses its own.

This prevents the "dumpdtb" option from working.
---
hw/i386/microvm-dt.c      | 96 +++++++++++++++++++++++++----------------------
include/hw/i386/microvm.h |  2 -
2 files changed, 52 insertions(+), 46 deletions(-)

The patch LGTM:

Reviewed-by: Stefano Garzarella <[email protected]>


Reply via email to