Page MenuHomeFreeBSD

D54739.diff
No OneTemporary

D54739.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
Sat, Jan 31, 8:10 PM (3 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27764059
Default Alt Text
D54739.diff (372 B)

Event Timeline