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

Cole Robinson posted 2 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1531259066.git.crobinso@redhat.com
Test syntax-check passed
src/conf/virnodedeviceobj.c | 13 ++++++++++++-
src/conf/virnodedeviceobj.h |  4 ++++
src/test/test_driver.c      | 15 +++++++++++++++
3 files changed, 31 insertions(+), 1 deletion(-)

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

Posted by Cole Robinson 1 week ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

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

Posted by Erik Skultety 1 week ago
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@redhat.com>

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list