Page MenuHomeFreeBSD

D26209.diff
No OneTemporary

D26209.diff

diff --git a/usr.sbin/bhyve/pci_gvt-d.c b/usr.sbin/bhyve/pci_gvt-d.c
--- a/usr.sbin/bhyve/pci_gvt-d.c
+++ b/usr.sbin/bhyve/pci_gvt-d.c
@@ -256,7 +256,10 @@
memcpy(opregion->gva, opregion->hva, opregion->len);
- return (0);
+ pci_set_cfgdata32(pi, PCIR_ASLS_CTL, opregion->gpa);
+
+ return (set_pcir_handler(sc, PCIR_ASLS_CTL, 4, passthru_cfgread_emulate,
+ passthru_cfgwrite_emulate));
}
static int

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 1:44 AM (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15789790
Default Alt Text
D26209.diff (414 B)

Event Timeline