[PATCH 0/1] hw/i386: prevent crash when an invalid number of dies is given

Cleber Rosa posted 1 patch 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201012033507.906096-1-crosa@redhat.com
Maintainers: "Philippe Mathieu-Daudé" <philmd@redhat.com>, Richard Henderson <rth@twiddle.net>, Eduardo Habkost <ehabkost@redhat.com>, Cleber Rosa <crosa@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c                          |  5 +++++
tests/acceptance/cpu_topology_dies.py | 31 +++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 100644 tests/acceptance/cpu_topology_dies.py
[PATCH 0/1] hw/i386: prevent crash when an invalid number of dies is given
Posted by Cleber Rosa 3 years, 6 months ago
Simple patch (and test) to avoid crashes when and invalid number
of dies is given.

Cleber Rosa (1):
  hw/i386: prevent crash when an invalid number of dies is given

 hw/i386/pc.c                          |  5 +++++
 tests/acceptance/cpu_topology_dies.py | 31 +++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 tests/acceptance/cpu_topology_dies.py

-- 
2.25.4