nodedev: Restore setting of privileged
Commit id '36555364' removed the setting of the driver->privileged, which the udevProcessPCI would need in order to read the PCI device configs. Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
1455a91b33
commit
9bfcf3ccdd
@ -1933,6 +1933,8 @@ nodeStateInitialize(bool privileged,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
driver->privileged = privileged;
|
||||||
|
|
||||||
if (!(driver->devs = virNodeDeviceObjListNew()) ||
|
if (!(driver->devs = virNodeDeviceObjListNew()) ||
|
||||||
!(priv = udevEventDataNew()))
|
!(priv = udevEventDataNew()))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user