[virt-tools-list] [virt-manager 0/8] filesystem: Add support for virtiofs

Lin Ma lma at suse.com
Wed Jun 30 12:10:58 UTC 2021

So far, virt-manager only supports virtio-9p, The patchset adds virtiofs
which offering better performance.

We know that the virtiofs needs 'shared' access mode of memory backing
or 'shared' access mode of virtual numa node, But virt-manager doesn't
provide UI to configure memory backing or virtual numa node because they
are advanced features and can be configured by raw XML editor.

This patchset introduces basic virtiofs support and offers an easier way
to configure virtiofs by adjusting access mode to 'shared' if necessary.

I don't intend to introduce memory backing UI or numa UI, That means I
need to modify the access mode attribue which belongs memorybacking or
numa in filesystem code, This perhaps looks not good, Any comments are

Lin Ma (8):
  fsdetails: Show the 'driver' combo for qemu
  fsdetails: Add support for driver="virtiofs"
  domain: memorybacking: Add function is_access_shared()
  domain: cpu: Add function has_private_memAccess_cells()
  domain: cpu: Add function all_shared_memAccess_cells()
  details: Automatically set mem access to shared for virtiofs
  addhardware: Automatically set mem access to shared for virtiofs
  filesystem: Add a checkbox for setting shared memory access for

 tests/uitests/test_details.py    |  1 +
 ui/fsdetails.ui                  | 14 ++++++++++
 virtManager/addhardware.py       | 13 +++++++++
 virtManager/details/details.py   | 13 +++++++++
 virtManager/device/fsdetails.py  | 45 +++++++++++++++++++++++++++-----
 virtManager/object/domain.py     | 15 ++++++++++-
 virtinst/devices/filesystem.py   |  3 +++
 virtinst/domain/cpu.py           | 14 ++++++++++
 virtinst/domain/memorybacking.py |  3 +++
 9 files changed, 114 insertions(+), 7 deletions(-)


More information about the virt-tools-list mailing list