From: Cole Robinson Date: Fri, 22 Mar 2024 14:45:48 +0000 (-0400) Subject: test: make parsed nodedevs active and persistent X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2b487f564eb4a1340cb31935de1e14df6c6914a0;p=libvirt.git test: make parsed nodedevs active and persistent This was the implied default before nodedevs gained a notion of being inactive and transient. It also matches the implied default when parsing other object types Reviewed-by: Boris Fiuczynski Signed-off-by: Cole Robinson --- diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 41828f86b6..153ab7cdc2 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -1269,6 +1269,8 @@ testParseNodedevs(testDriver *privconn, return -1; } + virNodeDeviceObjSetPersistent(obj, true); + virNodeDeviceObjSetActive(obj, true); virNodeDeviceObjSetSkipUpdateCaps(obj, true); virNodeDeviceObjEndAPI(&obj); }