Page MenuHomeFreeBSD

D32687.id97524.diff
No OneTemporary

D32687.id97524.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
@@ -582,8 +582,8 @@
goto done;
}
- pci_set_cfgdata16(pi, PCIR_COMMAND, read_config(&sc->psc_sel,
- PCIR_COMMAND, 2));
+ write_config(&sc->psc_sel, PCIR_COMMAND, 2,
+ pci_get_cfgdata16(pi, PCIR_COMMAND));
error = 0; /* success */
done:

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 11:39 AM (12 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15604342
Default Alt Text
D32687.id97524.diff (406 B)

Event Timeline