mbox series

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

Message ID 20201012033507.906096-1-crosa@redhat.com (mailing list archive)
Headers show
Series hw/i386: prevent crash when an invalid number of dies is given | expand

Message

Cleber Rosa Oct. 12, 2020, 3:35 a.m. UTC
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