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:
John Ferlan 2017-11-22 10:34:11 -05:00
parent 1455a91b33
commit 9bfcf3ccdd

View File

@ -1933,6 +1933,8 @@ nodeStateInitialize(bool privileged,
return -1;
}
driver->privileged = privileged;
if (!(driver->devs = virNodeDeviceObjListNew()) ||
!(priv = udevEventDataNew()))
goto cleanup;