mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-10 07:20:02 +00:00
test: Fix virsh nodedev-list
$ virsh --connect test:///default nodedev-list error: Failed to list node devices error: unsupported flags (0x80000000) in function testConnectListAllNodeDevices The test driver handles the nodedev state flags, we just need to allow them Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
e5b7f1e266
commit
66e4b56016
@ -7481,7 +7481,7 @@ testConnectListAllNodeDevices(virConnectPtr conn,
|
||||
{
|
||||
testDriver *driver = conn->privateData;
|
||||
|
||||
virCheckFlags(VIR_CONNECT_LIST_NODE_DEVICES_FILTERS_CAP, -1);
|
||||
virCheckFlags(VIR_CONNECT_LIST_NODE_DEVICES_FILTERS_ALL, -1);
|
||||
|
||||
return virNodeDeviceObjListExport(conn, driver->devs, devices,
|
||||
NULL, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user