Message ID | 20220114203849.243657-4-mjrosato@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | s390x/pci: zPCI interpretation support | expand |
On 1/14/22 3:38 PM, Matthew Rosato wrote: > Double-check I'm doing this right + test. > Argh... This should have been squashed into the preceding patch 'target/s390x: add zpci-interp to cpu models' > Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> > --- > hw/s390x/s390-virtio-ccw.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c > index 84e3e63c43..e02fe11b07 100644 > --- a/hw/s390x/s390-virtio-ccw.c > +++ b/hw/s390x/s390-virtio-ccw.c > @@ -803,6 +803,7 @@ DEFINE_CCW_MACHINE(7_0, "7.0", true); > static void ccw_machine_6_2_instance_options(MachineState *machine) > { > ccw_machine_7_0_instance_options(machine); > + s390_cpudef_featoff_greater(14, 1, S390_FEAT_ZPCI_INTERP); > } > > static void ccw_machine_6_2_class_options(MachineClass *mc)
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 84e3e63c43..e02fe11b07 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -803,6 +803,7 @@ DEFINE_CCW_MACHINE(7_0, "7.0", true); static void ccw_machine_6_2_instance_options(MachineState *machine) { ccw_machine_7_0_instance_options(machine); + s390_cpudef_featoff_greater(14, 1, S390_FEAT_ZPCI_INTERP); } static void ccw_machine_6_2_class_options(MachineClass *mc)
Double-check I'm doing this right + test. Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> --- hw/s390x/s390-virtio-ccw.c | 1 + 1 file changed, 1 insertion(+)