On Wed, Apr 15, 2026 at 02:29:08AM +0200, Alexandre N. wrote:
> Please find attached the full dmesg with the debug patch
> and options you mentioned, using a clean 6.19.11 as a base.
> 
> This dmesg log shows a run with my host and guest issues (no
> disks from controller in VM, page fault error, virt-manager
> unresponsive etc).
> 0000:05:00.0 is the PCI SATA Controller device having issues.
> 
> Timings:
> - 36.447944: host ready after startup
> - 158.292119: VM starting
> - 166.564760: VM startup sequence ended
> - 286.631128: VM shutting down
> - 293.950976: VM shutdown sequence ended

Thank you!  In your case, the host kernel binds a driver to the
device which is unbound prior to passthrough.  Unbinding sets
current_state to PCI_UNKNOWN and that makes the problem re-appear
despite 4d4c10f763d7:

https://elixir.bootlin.com/linux/v6.19.11/source/drivers/pci/pci-driver.c#L484

On Bernd's system, the host kernel doesn't bind a driver to the
DVB adapter, hence 4d4c10f763d7 is sufficient to make the issue
disappear in his case.  I guess if he'd unbind vfio-pci and rebind
it, he'd see the problem again.

In any case, the patch is now submitted:

https://lore.kernel.org/r/febc3f354e0c1f5a9f5b3ee9ffddaa44caccf651.1776268054.git.lu...@wunner.de/

Thank you both for your efforts in reporting the bug and patiently
providing log output for debugging!

Lukas

Reply via email to