qemu/include
Cornelia Huck a4e2fff1b1 s390x/pci: fix endianness issues
The zPCI group and function structures are big endian. However, we do
not consistently store them as big endian locally, and are missing some
conversions.

Let's just store the structures as host endian instead and convert to
big endian when actually handling the instructions retrieving the data.

Also fix the layout of ClpReqQueryPciGrp: g is actually only 8 bit. This
also fixes accesses on little endian hosts, and makes accesses on big
endian hosts consistent.

Fixes: 28dc86a072 ("s390x/pci: use a PCI Group structure")
Fixes: 9670ee7527 ("s390x/pci: use a PCI Function structure")
Fixes: 1e7552ff5c ("s390x/pci: get zPCI function info from host")
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Tested-by: Matthew Rosato <mjrosato@linux.ibm.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201118104202.1301363-1-cohuck@redhat.com>
2020-11-18 16:59:29 +01:00
..
authz authz: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
block block: Move bdrv_drain_all_end_quiesce() to block_int.h 2020-11-09 15:44:21 +01:00
chardev chardev/spice: simplify chardev setup 2020-10-15 11:14:40 +02:00
crypto
disas
exec nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
fpu
hw s390x/pci: fix endianness issues 2020-11-18 16:59:29 +01:00
io io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
libdecnumber
migration migration: Drop unused VMSTATE_FLOAT64 support 2020-10-26 16:15:04 +00:00
monitor hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
net qom: fix objects with improper parent type 2020-10-12 11:50:22 -04:00
qapi qapi, qemu-options: make all parsing visitors parse boolean options the same 2020-11-04 12:00:40 -05:00
qemu qemu/bswap: Remove unused qemu_bswap_len() 2020-11-17 09:45:24 +01:00
qom qom: Add user_creatable_print_help_from_qdict() 2020-10-15 16:06:27 +02:00
scsi
standard-headers linux-headers: update against 5.10-rc1 2020-11-01 12:30:51 -07:00
sysemu tpm: Fix Lesser GPL version number 2020-11-15 16:44:18 +01:00
tcg tcg: Do not kill globals at conditional branches 2020-10-27 09:48:07 -07:00
ui spice: wire up monitor in QemuSpiceOps. 2020-10-21 15:46:14 +02:00
user
elf.h target-arm queue: 2020-10-29 11:40:04 +00:00
glib-compat.h glib-compat: add g_unix_get_passwd_entry_qemu() 2020-11-02 19:52:08 -06:00
qemu-common.h
qemu-io.h
trace-tcg.h