summaryrefslogtreecommitdiffstats
path: root/softmmu
diff options
context:
space:
mode:
authorJanosch Frank2020-03-31 13:01:23 +0200
committerCornelia Huck2020-04-02 11:44:17 +0200
commitedd075ae2baebf64b74e089457af6201362c9343 (patch)
treef2bf9c99e76254b9d4f15399bf7cd8418e098a5e /softmmu
parentUpdate version for v5.0.0-rc1 release (diff)
downloadqemu-edd075ae2baebf64b74e089457af6201362c9343.tar.gz
qemu-edd075ae2baebf64b74e089457af6201362c9343.tar.xz
qemu-edd075ae2baebf64b74e089457af6201362c9343.zip
s390x: kvm: Fix number of cpu reports for stsi 3.2.2
The cpu number reporting is handled by KVM and QEMU only fills in the VM name, uuid and other values. Unfortunately KVM doesn't report reserved cpus and doesn't even know they exist until the are created via the ioctl. So let's fix up the cpu values after KVM has written its values to the 3.2.2 sysib. To be consistent, we use the same code to retrieve the cpu numbers as the STSI TCG code in target/s390x/misc_helper.c:HELPER(stsi). Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Message-Id: <20200331110123.3774-1-frankja@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'softmmu')
0 files changed, 0 insertions, 0 deletions