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

Erik Skultety eskultet at redhat.com
Fri Jul 13 10:47:25 UTC 2018


On Tue, Jul 10, 2018 at 05:46:00PM -0400, Cole Robinson wrote:
> 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(-)

Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list