summary refs log tree commit diff stats
path: root/include/hw/s390x
diff options
context:
space:
mode:
authorMatthew Rosato <mjrosato@linux.ibm.com>2025-02-26 16:00:13 -0500
committerThomas Huth <thuth@redhat.com>2025-03-07 09:24:00 +0100
commitd9b5dfc7122559e5b5959ecf534788b90c3dd102 (patch)
tree9019e1c3eff45f2ded45ac42417c82a3be152d0d /include/hw/s390x
parentdfcee1ea4c52ac60e0a06221eafb7b6253eb10c3 (diff)
downloadfocaccia-qemu-d9b5dfc7122559e5b5959ecf534788b90c3dd102.tar.gz
focaccia-qemu-d9b5dfc7122559e5b5959ecf534788b90c3dd102.zip
s390x/pci: indicate QEMU supports relaxed translation for passthrough
Specifying this bit in the guest CLP response indicates that the guest
can optionally choose to skip translation and instead use
identity-mapped operations.

Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Message-ID: <20250226210013.238349-3-mjrosato@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw/s390x')
-rw-r--r--include/hw/s390x/s390-pci-clp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/s390-pci-clp.h b/include/hw/s390x/s390-pci-clp.h
index 03b7f9ba5f..6a635d693b 100644
--- a/include/hw/s390x/s390-pci-clp.h
+++ b/include/hw/s390x/s390-pci-clp.h
@@ -158,6 +158,7 @@ typedef struct ClpRspQueryPciGrp {
 #define CLP_RSP_QPCIG_MASK_NOI 0xfff
     uint16_t i;
     uint8_t version;
+#define CLP_RSP_QPCIG_MASK_RTR     0x20
 #define CLP_RSP_QPCIG_MASK_FRAME   0x2
 #define CLP_RSP_QPCIG_MASK_REFRESH 0x1
     uint8_t fr;