]> git.ipfire.org Git - thirdparty/qemu.git/commit
machine: use QAPI struct for boot configuration
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Apr 2022 16:52:56 +0000 (12:52 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 May 2022 10:29:43 +0000 (12:29 +0200)
commit97ec4d21e09b5e4a59f00c471a7f76533b08ce56
tree0cdc9be29ebd39560f7b8266c2e8ed685ec477a1
parent70be1d93f9c2dbf6793830d482e91bb33f921348
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>
18 files changed:
hw/arm/nseries.c
hw/core/machine.c
hw/hppa/machine.c
hw/i386/pc.c
hw/nvram/fw_cfg.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/prep.c
hw/ppc/spapr.c
hw/s390x/ipl.c
hw/sparc/sun4m.c
hw/sparc64/sun4u.c
include/hw/boards.h
include/sysemu/sysemu.h
qapi/machine.json
softmmu/bootdevice.c
softmmu/globals.c
softmmu/vl.c