mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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;
|
||||
}
|
||||
|
||||
driver->privileged = privileged;
|
||||
|
||||
if (!(driver->devs = virNodeDeviceObjListNew()) ||
|
||||
!(priv = udevEventDataNew()))
|
||||
goto cleanup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user