Re: [kvm-unit-tests PATCH v10 2/2] s390x: topology: Checking Configuration Topology Information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/06/2023 10.21, Pierre Morel wrote:
STSI with function code 15 is used to store the CPU configuration
topology.

We retrieve the maximum nested level with SCLP and use the
topology tree provided by sockets and cores only to stay
compatible with qemu topology before topology extension with

"before checking ..." ?

drawers and books.
arguments.

We check :
- if the topology stored is coherent between the QEMU -smp
   parameters and kernel parameters.
- the number of CPUs
- the maximum number of CPUs
- the number of containers of each levels for every STSI(15.1.x)
   instruction allowed by the machine.

Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
---
  lib/s390x/sclp.c    |   6 +
  lib/s390x/sclp.h    |   4 +-
  lib/s390x/stsi.h    |  36 +++++
  s390x/topology.c    | 326 ++++++++++++++++++++++++++++++++++++++++++++
  s390x/unittests.cfg |   4 +
  5 files changed, 375 insertions(+), 1 deletion(-)

Does this patch series depend on some other patches that are not upstream yet? I just tried to run the test, but I'm only getting:

 lib/s390x/sclp.c:122: assert failed: read_info

Any ideas what could be wrong?

 Thomas




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux