Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106104594
D32687.id97524.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
406 B
Referenced Files
None
Subscribers
None
D32687.id97524.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
@@ -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
Details
Attached
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)
Attached To
Mode
D32687: bhyve: keep physical and virtual COMMAND reg in sync
Attached
Detach File
Event Timeline
Log In to Comment