s390x: fix size + content of STSI blocks
commit4d1369efaad3b5297f164d787bda3dd24723c1e2
authorDavid Hildenbrand <david@redhat.com>
Mon, 29 Jan 2018 12:56:17 +0000 (29 13:56 +0100)
committerCornelia Huck <cohuck@redhat.com>
Fri, 9 Feb 2018 08:37:13 +0000 (9 09:37 +0100)
tree4488c4bea1641d3074683fa5a58bf3711fee9bf3
parent631b59664c9d8472d64c9c9c14b709dd40f07b16
s390x: fix size + content of STSI blocks

All blocks are 4k in size, which is only true for two of them right now.
Also some reserved fields were wrong, fix it and convert all reserved
fields to u8.

This also fixes the LPAR part output in /proc/sysinfo under TCG. (for
now, everything was indicated as 0)

While at it, introduce typedefs for these structs and use them in TCG/KVM
code.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180129125623.21729-13-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.h
target/s390x/kvm.c
target/s390x/misc_helper.c