s390x/cpumodel: allow zpci features in qemu model
commite3fd586dfa9e4904c634dcfbcd8371af3df18556
authorCornelia Huck <cohuck@redhat.com>
Thu, 23 Nov 2017 15:59:11 +0000 (23 16:59 +0100)
committerCornelia Huck <cohuck@redhat.com>
Fri, 9 Feb 2018 08:37:13 +0000 (9 09:37 +0100)
tree440f5f96a7c3e97679ccfee1d0c29c1dc7fda009
parentf6c232ce1605f7719ed6f769c8609099d8cdff48
s390x/cpumodel: allow zpci features in qemu model

AEN and AIS can be provided unconditionally, ZPCI should be turned on
manually.

With -cpu qemu,zpci=on, the guest kernel can now successfully detect
virtio-pci devices under tcg.

Also fixup the order of the MSA_EXT_{3,4} flags while at it.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu_models.c
target/s390x/gen-features.c