From 2b487f564eb4a1340cb31935de1e14df6c6914a0 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 22 Mar 2024 10:45:48 -0400 Subject: [PATCH] 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 --- src/test/test_driver.c | 2 ++ 1 file changed, 2 insertions(+) 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); }