[PATCH v4 0/2] hw/core/machine: Add an unit test for smp_parse

Philippe Mathieu-Daudé posted 2 patches 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211028150913.1975305-1-philmd@redhat.com
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
[PATCH v4 0/2] hw/core/machine: Add an unit test for smp_parse
Posted by Philippe Mathieu-Daudé 2 years, 6 months ago
Respin of Yanan Wang v3, based on
"hw/core: Restrict qdev-hotplug to sysemu"

Based-on: 20211028150521.1973821-1-philmd@redhat.com
https://lore.kernel.org/qemu-devel/20211028150521.1973821-1-philmd@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


Re: [PATCH v4 0/2] hw/core/machine: Add an unit test for smp_parse
Posted by Eduardo Habkost 2 years, 6 months ago
On Thu, Oct 28, 2021 at 05:09:11PM +0200, Philippe Mathieu-Daudé wrote:
> Respin of Yanan Wang v3, based on
> "hw/core: Restrict qdev-hotplug to sysemu"
> 
> Based-on: 20211028150521.1973821-1-philmd@redhat.com
> https://lore.kernel.org/qemu-devel/20211028150521.1973821-1-philmd@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'

Acked-by: Eduardo Habkost <ehabkost@redhat.com>

-- 
Eduardo


Re: [PATCH v4 0/2] hw/core/machine: Add an unit test for smp_parse
Posted by Philippe Mathieu-Daudé 2 years, 5 months ago
On 10/28/21 17:09, Philippe Mathieu-Daudé wrote:
> Respin of Yanan Wang v3, based on
> "hw/core: Restrict qdev-hotplug to sysemu"
> 
> Based-on: 20211028150521.1973821-1-philmd@redhat.com
> https://lore.kernel.org/qemu-devel/20211028150521.1973821-1-philmd@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

Series queued to machine-next (including patch #2 fixup).