Page MenuHomeFreeBSD

D40107.diff
No OneTemporary

D40107.diff

diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c
--- a/usr.sbin/bhyve/pci_emul.c
+++ b/usr.sbin/bhyve/pci_emul.c
@@ -1029,7 +1029,8 @@
pdi->pi_lintr.pirq_pin = 0;
pdi->pi_lintr.ioapic_irq = 0;
pdi->pi_d = pde;
- snprintf(pdi->pi_name, PI_NAMESZ, "%s-pci-%d", pde->pe_emu, slot);
+ snprintf(pdi->pi_name, PI_NAMESZ, "%s@pci.%d.%d.%d", pde->pe_emu, bus,
+ slot, func);
/* Disable legacy interrupts */
pci_set_cfgdata8(pdi, PCIR_INTLINE, 255);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 1:28 PM (4 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16197582
Default Alt Text
D40107.diff (476 B)

Event Timeline