machine: use QAPI struct for boot configuration
As part of converting -boot to a property with a QAPI type, define the struct and use it throughout QEMU to access boot configuration. machine_boot_parse takes care of doing the QemuOpts->QAPI conversion by hand, for now. Signed-off-by:Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220414165300.555321-2-pbonzini@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- hw/arm/nseries.c 1 addition, 1 deletionhw/arm/nseries.c
- hw/core/machine.c 65 additions, 3 deletionshw/core/machine.c
- hw/hppa/machine.c 3 additions, 3 deletionshw/hppa/machine.c
- hw/i386/pc.c 1 addition, 1 deletionhw/i386/pc.c
- hw/nvram/fw_cfg.c 7 additions, 20 deletionshw/nvram/fw_cfg.c
- hw/ppc/mac_newworld.c 1 addition, 1 deletionhw/ppc/mac_newworld.c
- hw/ppc/mac_oldworld.c 1 addition, 1 deletionhw/ppc/mac_oldworld.c
- hw/ppc/prep.c 1 addition, 1 deletionhw/ppc/prep.c
- hw/ppc/spapr.c 2 additions, 2 deletionshw/ppc/spapr.c
- hw/s390x/ipl.c 6 additions, 14 deletionshw/s390x/ipl.c
- hw/sparc/sun4m.c 2 additions, 2 deletionshw/sparc/sun4m.c
- hw/sparc64/sun4u.c 2 additions, 2 deletionshw/sparc64/sun4u.c
- include/hw/boards.h 2 additions, 2 deletionsinclude/hw/boards.h
- include/sysemu/sysemu.h 0 additions, 2 deletionsinclude/sysemu/sysemu.h
- qapi/machine.json 30 additions, 0 deletionsqapi/machine.json
- softmmu/bootdevice.c 2 additions, 1 deletionsoftmmu/bootdevice.c
- softmmu/globals.c 0 additions, 2 deletionssoftmmu/globals.c
- softmmu/vl.c 1 addition, 24 deletionssoftmmu/vl.c
Loading
Please register or sign in to comment