Re: [PATCH] spapr: Don't hijack current_machine->boot_order

2021-05-23 Thread David Gibson
On Fri, May 21, 2021 at 06:07:35PM +0200, Greg Kurz wrote: > QEMU 6.0 moved all the -boot variables to the machine. Especially, the > removal of the boot_order static changed the handling of '-boot once' > from: > > if (boot_once) { > qemu_boot_set(boot_once, &error_fatal); > q

[PATCH] spapr: Don't hijack current_machine->boot_order

2021-05-21 Thread Greg Kurz
QEMU 6.0 moved all the -boot variables to the machine. Especially, the removal of the boot_order static changed the handling of '-boot once' from: if (boot_once) { qemu_boot_set(boot_once, &error_fatal); qemu_register_reset(restore_boot_order, g_strdup(boot_order)); } to