mirror of
https://github.com/virt-manager/virt-manager.git
synced 2026-08-05 02:43:20 -05:00
cli: Add virtio option driver.page_per_vq=on
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -279,7 +279,7 @@
|
||||
</target>
|
||||
</controller>
|
||||
<filesystem type="mount" accessmode="mapped">
|
||||
<driver ats="on" iommu="off" packed="on"/>
|
||||
<driver ats="on" iommu="off" packed="on" page_per_vq="off"/>
|
||||
<alias name="testfsalias"/>
|
||||
<source dir="/source"/>
|
||||
<target dir="/target"/>
|
||||
|
||||
+1
-1
@@ -705,7 +705,7 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
|
||||
--hostdev mdev_4b20d080_1b54_4048_85b3_a6a62d165c01,address.type=pci,address.domain=0x0000,address.bus=0x01,address.slot=0x01,address.function=0x0,address.zpci.uid=0x0001,address.zpci.fid=0x00000001
|
||||
|
||||
|
||||
--filesystem /source,/target,alias.name=testfsalias,driver.ats=on,driver.iommu=off,driver.packed=on
|
||||
--filesystem /source,/target,alias.name=testfsalias,driver.ats=on,driver.iommu=off,driver.packed=on,driver.page_per_vq=off
|
||||
--filesystem template_name,/,type=template,mode=passthrough
|
||||
--filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash,driver.format=qcow2,driver.type=path,driver.wrpolicy=immediate
|
||||
--filesystem type-mount,source.dir=/,target=/
|
||||
|
||||
@@ -3318,6 +3318,8 @@ def _add_common_device_args(cls,
|
||||
_add_arg("driver.ats", "virtio_driver.ats", is_onoff=True)
|
||||
_add_arg("driver.iommu", "virtio_driver.iommu", is_onoff=True)
|
||||
_add_arg("driver.packed", "virtio_driver.packed", is_onoff=True)
|
||||
_add_arg("driver.page_per_vq",
|
||||
"virtio_driver.page_per_vq", is_onoff=True)
|
||||
|
||||
|
||||
def _add_device_seclabel_args(cls, list_propname, prefix=""):
|
||||
|
||||
@@ -17,6 +17,7 @@ class DeviceVirtioDriver(XMLBuilder):
|
||||
ats = XMLProperty("./@ats", is_onoff=True)
|
||||
iommu = XMLProperty("./@iommu", is_onoff=True)
|
||||
packed = XMLProperty("./@packed", is_onoff=True)
|
||||
page_per_vq = XMLProperty("./@page_per_vq", is_onoff=True)
|
||||
|
||||
|
||||
class DeviceSeclabel(XMLBuilder):
|
||||
|
||||
Reference in New Issue
Block a user