[PATCH for-7.1 0/5] Move memory and boot to -machine

Paolo Bonzini posted 5 patches 2 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220414165300.555321-1-pbonzini@redhat.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Yanan Wang <wangyanan55@huawei.com>, Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>, Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, "Hervé Poussineau" <hpoussin@reactos.org>, "Cédric Le Goater" <clg@kaod.org>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Christian Borntraeger <borntraeger@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Artyom Tarasenko <atar4qemu@gmail.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, "Gonglei (Arei)" <arei.gonglei@huawei.com>
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(-)
[PATCH for-7.1 0/5] Move memory and boot to -machine
Posted by Paolo Bonzini 2 years ago
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