On 6/4/20 9:42 AM, Menno Lageman wrote:
Add a new aw_bits attribute to the iommu device to control
the address width of the intel-iommu
Signed-off-by Menno Lageman <menno.lageman(a)oracle.com>
---
docs/formatdomain.html.in | 9 +++++
docs/schemas/domaincommon.rng | 5 +++
src/conf/domain_conf.c | 21 +++++++++++
src/conf/domain_conf.h | 1 +
.../qemuxml2argvdata/intel-iommu-aw-bits.xml | 35 +++++++++++++++++++
.../intel-iommu-aw-bits.x86_64-latest.xml | 1 +
tests/qemuxml2xmltest.c | 1 +
7 files changed, 73 insertions(+)
create mode 100644 tests/qemuxml2argvdata/intel-iommu-aw-bits.xml
create mode 120000 tests/qemuxml2xmloutdata/intel-iommu-aw-bits.x86_64-latest.xml
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 33cec1e6dd9f..64d4100dcd92 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -9326,6 +9326,15 @@ qemu-kvm -net nic,model=? /dev/null
<span class="since">Since 3.5.0</span> (QEMU/KVM
only)
</p>
</dd>
+ <dt><code>aw_bits</code></dt>
+ <dd>
+ <p>
+ The <code>aw_bits</code> attribute can be used to set
+ the address width to allow mapping larger iova addresses
+ in the guest.
+ <span class="since">Since 2.12.2</span> (QEMU/KVM
only)
This should represent the libvirt version since which the feature is
available.
Michal