As the next step in turning command line options into shortcuts, this series does -boot and -m. It also makes -M memory-backend a link instead of special casing it in vl.c, and makes the MachineState validate memory configuration without needing help from vl.c.
Paolo Bonzini (5): machine: use QAPI struct for boot configuration machine: add boot compound property machine: add mem compound property machine: make memory-backend a link property machine: move more memory validation to Machine object hw/arm/nseries.c | 2 +- hw/core/machine.c | 242 +++++++++++++++++++++++++++++++++++----- hw/core/numa.c | 2 +- hw/hppa/machine.c | 6 +- hw/i386/pc.c | 2 +- hw/nvram/fw_cfg.c | 27 ++--- hw/ppc/mac_newworld.c | 2 +- hw/ppc/mac_oldworld.c | 2 +- hw/ppc/prep.c | 2 +- hw/ppc/spapr.c | 4 +- hw/s390x/ipl.c | 20 +--- hw/sparc/sun4m.c | 9 +- hw/sparc64/sun4u.c | 4 +- include/hw/boards.h | 7 +- include/sysemu/sysemu.h | 2 - qapi/machine.json | 48 ++++++++ softmmu/bootdevice.c | 3 +- softmmu/globals.c | 2 - softmmu/vl.c | 229 +++++++++++-------------------------- 19 files changed, 363 insertions(+), 252 deletions(-) -- 2.31.1