diff options
author | David Hildenbrand <david@redhat.com> | 2019-02-12 12:23:23 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-02-18 11:25:43 +0100 |
commit | d646b16b21eca8d586dcbbd15bb47ed0387546c6 (patch) | |
tree | fde5253f169c19d38904ea0fc469653e9c417384 /hw/s390x/s390-virtio-ccw.c | |
parent | 965018bea7ce79e1987b50ba9160cba957f015df (diff) | |
download | qemu-d646b16b21eca8d586dcbbd15bb47ed0387546c6.zip qemu-d646b16b21eca8d586dcbbd15bb47ed0387546c6.tar.gz qemu-d646b16b21eca8d586dcbbd15bb47ed0387546c6.tar.bz2 |
s390x: add zPCI feature to "qemu" CPU model
As we now always have PCI support, let's add it to the "qemu" CPU model,
taking care of backwards compatibility.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190212112323.15904-1-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/s390-virtio-ccw.c')
-rw-r--r-- | hw/s390x/s390-virtio-ccw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 3fb5c88..1a3414b 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -657,7 +657,10 @@ DEFINE_CCW_MACHINE(4_0, "4.0", true); static void ccw_machine_3_1_instance_options(MachineState *machine) { + static const S390FeatInit qemu_cpu_feat = { S390_FEAT_LIST_QEMU_V3_1 }; ccw_machine_4_0_instance_options(machine); + + s390_set_qemu_cpu_model(0x2827, 12, 2, qemu_cpu_feat); } static void ccw_machine_3_1_class_options(MachineClass *mc) |