mbox series

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

Message ID 20211028150913.1975305-1-philmd@redhat.com
Headers show
Series hw/core/machine: Add an unit test for smp_parse | expand

Message

Philippe Mathieu-Daudé Oct. 28, 2021, 3:09 p.m. UTC
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

Comments

Eduardo Habkost Oct. 29, 2021, 5:10 p.m. UTC | #1
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>
Philippe Mathieu-Daudé Nov. 1, 2021, 6:28 p.m. UTC | #2
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).