On 30/10/25 15:32, 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
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(-)

Queued (typo fixed), thanks!

Reply via email to