summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorCollin Walling <walling@linux.ibm.com>2020-09-15 15:44:13 -0400
committerCornelia Huck <cohuck@redhat.com>2020-10-02 13:52:49 +0200
commit1a7a568859473b1cda39a015493c5c82bb200281 (patch)
tree5e1f904b4037efa463d8f472d4c515a227df516c /docs/devel/secure-coding-practices.rst
parent0260b97824495ebfacfa8bbae0be10b0ef986bf6 (diff)
downloadfocaccia-qemu-1a7a568859473b1cda39a015493c5c82bb200281.tar.gz
focaccia-qemu-1a7a568859473b1cda39a015493c5c82bb200281.zip
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>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions