aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-pci-kvm.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2022-11-07 17:13:48 +0100
committerThomas Huth <thuth@redhat.com>2022-11-08 10:10:57 +0100
commit57702891376d4636b5eab4a89145152a0342c987 (patch)
tree03b7be87fe65f8302d77b47d420c599536d4ed2a /hw/s390x/s390-pci-kvm.c
parent524fc737431d240f9d9f10aaf381003092868bac (diff)
Revert "s390x/s390-virtio-ccw: add zpcii-disable machine property"
This reverts commit 59d1ce44396e3ad2330dc3261ff3da7ad3a16184. The "zpcii-disable" machine property is redundant with the "interpret" zPCI device property. Remove it for clarification. Signed-off-by: Cédric Le Goater <clg@redhat.com> Message-Id: <20221107161349.1032730-2-clg@kaod.org> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/s390x/s390-pci-kvm.c')
-rw-r--r--hw/s390x/s390-pci-kvm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/s390x/s390-pci-kvm.c b/hw/s390x/s390-pci-kvm.c
index 5eb7fd12e2..9134fe185f 100644
--- a/hw/s390x/s390-pci-kvm.c
+++ b/hw/s390x/s390-pci-kvm.c
@@ -22,9 +22,7 @@
bool s390_pci_kvm_interp_allowed(void)
{
- return (kvm_s390_get_zpci_op() && !s390_is_pv() &&
- !object_property_get_bool(OBJECT(qdev_get_machine()),
- "zpcii-disable", NULL));
+ return kvm_s390_get_zpci_op() && !s390_is_pv();
}
int s390_pci_kvm_aif_enable(S390PCIBusDevice *pbdev, ZpciFib *fib, bool assist)