Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143522647
D54739.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
372 B
Referenced Files
None
Subscribers
None
D54739.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D54739: bhyve: Don't log a warning when we fail to open /dev/pci
Attached
Detach File
Event Timeline
Log In to Comment