Date: Tue, 25 Jun 2019 16:57:57 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 205549] bhyve pci passthru stops working after guest is restarted Message-ID: <bug-205549-27103-M2M27GFdTw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-205549-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-205549-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205549 --- Comment #15 from John Baldwin <jhb@FreeBSD.org> --- You should be able to just pass through the single USB controller AFAIK. The effect of the patch is somewhat hard to measure since it changes the initial value while the VM is starting before the guest starts executing.=20 While the guest is executing and MSI interrupts are enabled, that 0x400 bit should be set (it disables legacy INTx interrupts). However, to back up a bit, can you clarify how the device does not work on = the Linux guest, i.e. does Linux attach a driver to the device but not see devi= ces that are plugged in? Another thing to check is if you can use devctl to change the device driver= to xhci so that it uses the host driver and see if that works? You can use a GENERIC kernel and use 'devctl set driver -f xhci0 ppt' to change it to passthrough after boot and then use 'devctl clear driver -f ppt0' to switch= it back to xhci0 after shutting down the guest. Another test that might be easier is to boot windows after booting Linux and seeing if the controller works fine in Windows. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205549-27103-M2M27GFdTw>