aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-pci-vfio.c
diff options
context:
space:
mode:
authorMatthew Rosato <mjrosato@linux.ibm.com>2021-12-03 09:27:06 -0500
committerThomas Huth <thuth@redhat.com>2021-12-17 09:12:37 +0100
commitac6aa30ac47b2abaf142f76de46374da2a98f6e7 (patch)
tree74e9ea0adda6adc18c58411de6b3e08d7dce4517 /hw/s390x/s390-pci-vfio.c
parentcb6d6a3e6aa1226b67fd218953dcb3866c3a6845 (diff)
downloadqemu-ac6aa30ac47b2abaf142f76de46374da2a98f6e7.zip
qemu-ac6aa30ac47b2abaf142f76de46374da2a98f6e7.tar.gz
qemu-ac6aa30ac47b2abaf142f76de46374da2a98f6e7.tar.bz2
s390x/pci: add supported DT information to clp response
The DTSM is a mask that specifies which I/O Address Translation designation types are supported. Today QEMU only supports DT=1. Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Pierre Morel <pmorel@linux.ibm.com> Message-Id: <20211203142706.427279-5-mjrosato@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/s390x/s390-pci-vfio.c')
-rw-r--r--hw/s390x/s390-pci-vfio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/s390-pci-vfio.c b/hw/s390x/s390-pci-vfio.c
index 2a153fa..6f80a47 100644
--- a/hw/s390x/s390-pci-vfio.c
+++ b/hw/s390x/s390-pci-vfio.c
@@ -160,6 +160,7 @@ static void s390_pci_read_group(S390PCIBusDevice *pbdev,
resgrp->i = cap->noi;
resgrp->maxstbl = cap->maxstbl;
resgrp->version = cap->version;
+ resgrp->dtsm = ZPCI_DTSM;
}
}