[libvirt] [PATCH v2 0/2] test: Implement virConnectListAllNodeDevices

Cole Robinson crobinso at redhat.com
Tue Jul 10 21:46:00 UTC 2018


v1: https://www.redhat.com/archives/libvir-list/2018-February/msg01135.html

virnodedeviceobj.c generic ListAll infrastructure is not stateless
and will try to refresh nodedev scsi/pci/etc. config. Understandable
this doesn't play well with the test driver. Trying to untangle it
is a bit tough though.

This series adds a way to skip touching the host so we can implement
ListAllDevices in the test driver, which we want for virt-manager and
libvirt-dbus test suites

Cole Robinson (2):
  conf: nodedev: Don't refresh host caps in testdriver
  test: Implement virConnectListAllNodeDevices

 src/conf/virnodedeviceobj.c | 13 ++++++++++++-
 src/conf/virnodedeviceobj.h |  4 ++++
 src/test/test_driver.c      | 15 +++++++++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)

-- 
2.17.1




More information about the libvir-list mailing list