Hi Markus, This series introduces qemu_get_boot_opts(), in much the same way as was done for qemu_get_machine_opts().
As usual, I have out-of-scope and out-of-tree usages :) But P3 does clean up the three existing instances of the long-and-awkward form of this query and makes the one in vl.c consistent with an immediately surrounding qemu_get_machine_opts(). changed since v1: Fix nvram usages as well (Markus review). Regards, Peter Peter Crosthwaite (4): vl.c: generalise qemu_get_machine_opts() vl.c: Add qemu_get_boot_opts() vl.c: Use qemu_get_boot_opts nvram: fw_cfg: Fix -boot options in nvram/fw_cfg hw/nvram/fw_cfg.c | 36 +++++++++++-------------- include/sysemu/sysemu.h | 1 + vl.c | 70 ++++++++++++++++++++++++++++++------------------- 3 files changed, 60 insertions(+), 47 deletions(-) -- 1.9.2.1.g06c4abd