[Qemu-devel] [PATCH RFC 0/2] s390x: support zpci in tcg

Cornelia Huck posted 2 patches 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180129165210.21086-1-cohuck@redhat.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppc passed
Test s390x passed
There is a newer version of this series
target/s390x/gen-features.c |   3 ++
target/s390x/helper.h       |   9 ++++
target/s390x/insn-data.def  |  13 +++++
target/s390x/misc_helper.c  | 123 ++++++++++++++++++++++++++++++++++++++++++++
target/s390x/translate.c    | 123 ++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 271 insertions(+)
[Qemu-devel] [PATCH RFC 0/2] s390x: support zpci in tcg
Posted by Cornelia Huck 6 years, 2 months ago
This patch set (available at git://github.com/cohuck/qemu pci-tcg)
wires up zpci under tcg. A guest started with

qemu-system-s390x -M s390-ccw-virtio,accel=tcg -cpu qemu,zpci=on -device virtio-net-pci (...)

and a 4.15 kernel in the guest (needed because the requirement for ais
was dropped with

commit 48070c73058be6de9c0d754d441ed7092dfc8f12
Author: Christian Borntraeger <borntraeger@de.ibm.com>
Date:   Mon Oct 30 14:38:58 2017 +0100

    s390/pci: do not require AIS facility

and we don't have a working ais with tcg yet), I get sensible output
out of lspci.

RFC because I'm not sure that I put up the tcg wires in the best way.

Cornelia Huck (2):
  s390x/tcg: wire up pci instructions
  s390x/cpumodel: allow zpci features in qemu model

 target/s390x/gen-features.c |   3 ++
 target/s390x/helper.h       |   9 ++++
 target/s390x/insn-data.def  |  13 +++++
 target/s390x/misc_helper.c  | 123 ++++++++++++++++++++++++++++++++++++++++++++
 target/s390x/translate.c    | 123 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 271 insertions(+)

-- 
2.13.6