[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-7.1 0/5] Move memory and boot to -machine
From: |
Paolo Bonzini |
Subject: |
[PATCH for-7.1 0/5] Move memory and boot to -machine |
Date: |
Thu, 14 Apr 2022 12:52:55 -0400 |
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
- [PATCH for-7.1 0/5] Move memory and boot to -machine,
Paolo Bonzini <=
- [PATCH for-7.1 2/5] machine: add boot compound property, Paolo Bonzini, 2022/04/14
- [PATCH for-7.1 5/5] machine: move more memory validation to Machine object, Paolo Bonzini, 2022/04/14
- [PATCH for-7.1 4/5] machine: make memory-backend a link property, Paolo Bonzini, 2022/04/14
- [PATCH for-7.1 3/5] machine: add mem compound property, Paolo Bonzini, 2022/04/14
- [PATCH for-7.1 1/5] machine: use QAPI struct for boot configuration, Paolo Bonzini, 2022/04/14