Re: [kvm-unit-tests PATCH] s390x: Add stsi 3.2.2 tests

Janosch Frank
2020-03-30T13:10:01Z

[-- Attachment #1.1: Type: text/plain, Size: 767 bytes --]

On 3/30/20 3:03 PM, Janosch Frank wrote:
> On 3/30/20 2:50 PM, David Hildenbrand wrote:
>> On 30.03.20 14:20, Janosch Frank wrote:
>>> + report(data->vm[0].total_cpus == smp_query_num_cpus(), "cpu # total");
>>> + report(data->vm[0].conf_cpus == smp_query_num_cpus(), "cpu # configured");
>>> + report(data->vm[0].standby_cpus == 0, "cpu # standby");
>>> + report(data->vm[0].reserved_cpus == 0, "cpu # reserved");
>>
>> IIRC, using -smp 1,maxcpus=X, you could also test the reported reserved
>> CPUs.
>
> Will try that

Just like I thought, QEMU does not manipulate cpu counts and KVM
pre-sets standby and reserved to 0. So we have absolutely no change when
adding the smp parameter.

>
>>
>>
>> Also passes under TCG, nice :)
>>
>
>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]