mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
hostdev: Remove inaccurate comment
The comment claimed that virPCIDeviceReattach() does not reattach a device to the host driver; except it actually does, so the comment is just confusing and we're better off removing it.
This commit is contained in:
parent
be70acb788
commit
a67b14a975
@ -727,9 +727,6 @@ virHostdevPreparePCIDevices(virHostdevManagerPtr hostdev_mgr,
|
|||||||
virPCIDevicePtr dev = virPCIDeviceListGet(pcidevs, i);
|
virPCIDevicePtr dev = virPCIDeviceListGet(pcidevs, i);
|
||||||
|
|
||||||
if (virPCIDeviceGetManaged(dev)) {
|
if (virPCIDeviceGetManaged(dev)) {
|
||||||
/* NB: This doesn't actually re-bind to original driver, just
|
|
||||||
* unbinds from the stub driver
|
|
||||||
*/
|
|
||||||
VIR_DEBUG("Reattaching managed PCI device %s",
|
VIR_DEBUG("Reattaching managed PCI device %s",
|
||||||
virPCIDeviceGetName(dev));
|
virPCIDeviceGetName(dev));
|
||||||
ignore_value(virPCIDeviceReattach(dev,
|
ignore_value(virPCIDeviceReattach(dev,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user