mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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 <fiuczy@linux.ibm.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
7a5baa450d
commit
2b487f564e
@ -1269,6 +1269,8 @@ testParseNodedevs(testDriver *privconn,
|
||||
return -1;
|
||||
}
|
||||
|
||||
virNodeDeviceObjSetPersistent(obj, true);
|
||||
virNodeDeviceObjSetActive(obj, true);
|
||||
virNodeDeviceObjSetSkipUpdateCaps(obj, true);
|
||||
virNodeDeviceObjEndAPI(&obj);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user