Respin of Yanan Wang v3, based on "hw/core: Restrict qdev-hotplug to sysemu"
Based-on: 20211028150521.1973821-1-phi...@redhat.com https://lore.kernel.org/qemu-devel/20211028150521.1973821-1-phi...@redhat.com git-backport-diff: Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively 001/2:[0001] [FC] 'hw/core/machine: Split out the smp parsing code' 002/2:[----] [--] 'tests/unit: Add an unit test for smp parsing' Yanan Wang (2): hw/core/machine: Split out the smp parsing code tests/unit: Add an unit test for smp parsing include/hw/boards.h | 1 + hw/core/machine-smp.c | 181 +++++++++++ hw/core/machine.c | 159 ---------- tests/unit/test-smp-parse.c | 594 ++++++++++++++++++++++++++++++++++++ MAINTAINERS | 2 + hw/core/meson.build | 1 + tests/unit/meson.build | 1 + 7 files changed, 780 insertions(+), 159 deletions(-) create mode 100644 hw/core/machine-smp.c create mode 100644 tests/unit/test-smp-parse.c -- 2.31.1