Page MenuHomeFreeBSD

D54739.id170039.diff
No OneTemporary

D54739.id170039.diff

diff --git a/usr.sbin/bhyve/pci_passthru.c b/usr.sbin/bhyve/pci_passthru.c
--- a/usr.sbin/bhyve/pci_passthru.c
+++ b/usr.sbin/bhyve/pci_passthru.c
@@ -138,7 +138,8 @@
fd = open(_PATH_DEVPCI, O_RDWR, 0);
if (fd < 0) {
- warn("failed to open %s", _PATH_DEVPCI);
+ if (errno != EACCES)
+ warn("failed to open %s", _PATH_DEVPCI);
return (-1);
}
return (fd);

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 6:10 AM (8 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27764059
Default Alt Text
D54739.id170039.diff (372 B)

Event Timeline