On Tue, Jul 10, 2018 at 05:46:01PM -0400, Cole Robinson wrote:
> Add a 'skipUpdateCaps' bool that we set for test_driver.c nodedevs
> which will skip accessing host resources via virNodeDeviceUpdateCaps
>
> Signed-off-by: Cole Robinson <crobi...@redhat.com>
>

...

> @@ -5565,6 +5566,7 @@ testNodeDeviceMockCreateVport(testDriverPtr driver,
>          goto cleanup;
>      def = NULL;
>      objdef = virNodeDeviceObjGetDef(obj);
> +    virNodeDeviceObjSetSkipUpdateCaps(obj, true);

I'd probably move this 2 lines up, but I don't really care.

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

Reply via email to