[PATCH virt-manager v1 0/3] fix virt-* tools hostdev support

Shalini Chellathurai Saroja shalini at linux.ibm.com
Wed Nov 10 10:28:30 UTC 2021


Fix bug RH2020241(https://bugzilla.redhat.com/show_bug.cgi?id=2020241)
by Fetching MDEV UUID from MDEV node device XML attribute "uuid".

The existing code parses MDEV node device UUID from MDEV name. The
MDEV name is changed from mdev_uuid(eg:
mdev_b204c698_6731_4f25_b5f4_894614a05ec0) to mdev_uuid_parent(eg:
mdev_b204c698_6731_4f25_b5f4_894614a05ec0_0_0_0014) in libvirt version
7.8.0 and later. This breaks the virt-* tools support for vfio_ccw and
vfio_ap devices.

Shalini Chellathurai Saroja (3):
  virt-manager: fix virt-* tools hostdev support
  tests: modify MDEV names
  virtManager: change MDEV display names

 tests/data/testdriver/testdriver.xml |  9 ++++++---
 tests/data/testdriver/testsuite.xml  |  6 ++++--
 tests/test_cli.py                    | 12 ++++++------
 tests/test_nodedev.py                |  9 ++++++---
 tests/uitests/test_addhardware.py    |  2 +-
 virtManager/addhardware.py           |  6 ------
 virtinst/devices/hostdev.py          |  2 +-
 virtinst/nodedev.py                  |  6 ++----
 8 files changed, 26 insertions(+), 26 deletions(-)

-- 
2.30.2




More information about the virt-tools-list mailing list