Page MenuHomeFreeBSD

D55070.id171032.diff
No OneTemporary

D55070.id171032.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
@@ -987,8 +987,11 @@
}
if (vm_assign_pptdev(pi->pi_vmctx, bus, slot, func) != 0) {
- warnx("PCI device at %d/%d/%d is not using the ppt(4) driver",
- bus, slot, func);
+ if (errno == ENOENT) {
+ EPRINTLN(
+ "PCI device at %d/%d/%d is not using the ppt driver",
+ bus, slot, func);
+ }
goto done;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 4, 6:18 AM (3 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28427651
Default Alt Text
D55070.id171032.diff (480 B)

Event Timeline