Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108577131
D40107.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
476 B
Referenced Files
None
Subscribers
None
D40107.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D40107: bhyve: pci_devinst.pi_name should contain bus, slot, func
Attached
Detach File
Event Timeline
Log In to Comment