qemu-e2k/hw/s390x
Collin Walling 1a7a568859 s390/sclp: use cpu offset to locate cpu entries
The start of the CPU entry region in the Read SCP Info response data is
denoted by the offset_cpu field. As such, QEMU needs to begin creating
entries at this address.

This is in preparation for when Read SCP Info inevitably introduces new
bytes that push the start of the CPUEntry field further away.

Read CPU Info is unlikely to ever change, so let's not bother
accounting for the offset there.

Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20200915194416.107460-6-walling@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2020-10-02 13:52:49 +02:00
..
3270-ccw.c
ap-bridge.c
ap-device.c ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICE 2020-09-09 13:20:22 -04:00
ccw-device.c
ccw-device.h Use OBJECT_DECLARE_TYPE when possible 2020-09-18 14:12:32 -04:00
css-bridge.c
css.c hw/s390x/css: Remove double initialization 2020-10-02 13:52:49 +02:00
event-facility.c s390/sclp: read sccb from mem based on provided length 2020-10-02 13:52:49 +02:00
ipl.c
ipl.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
Kconfig
meson.build virtio: add vhost-user-fs-ccw device 2020-09-23 13:41:58 +01:00
pv.c
s390-ccw.c
s390-pci-bus.c qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
s390-pci-bus.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
s390-pci-inst.c
s390-pci-inst.h
s390-skeys-kvm.c
s390-skeys.c util: rename qemu_open() to qemu_open_old() 2020-09-16 10:33:48 +01:00
s390-stattrib-kvm.c
s390-stattrib.c
s390-virtio-ccw.c cphp: remove deprecated cpu-add command(s) 2020-09-29 02:14:30 -04:00
s390-virtio-hcall.c
s390-virtio-hcall.h
sclp.c s390/sclp: use cpu offset to locate cpu entries 2020-10-02 13:52:49 +02:00
sclpcpu.c
sclpquiesce.c
tod-kvm.c
tod-qemu.c
tod.c
trace-events
trace.h
vhost-user-fs-ccw.c virtio: add vhost-user-fs-ccw device 2020-09-23 13:41:58 +01:00
vhost-vsock-ccw.c vhost-vsock-ccw: force virtio version 1 2020-09-29 02:15:24 -04:00
virtio-ccw-9p.c
virtio-ccw-balloon.c
virtio-ccw-blk.c
virtio-ccw-crypto.c
virtio-ccw-gpu.c
virtio-ccw-input.c virtio-ccw-input: fix description 2020-08-27 12:37:03 +02:00
virtio-ccw-net.c
virtio-ccw-rng.c
virtio-ccw-scsi.c
virtio-ccw-serial.c
virtio-ccw.c virtio: skip legacy support check on machine types less than 5.1 2020-09-29 02:15:24 -04:00
virtio-ccw.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00