Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upManual PCI rescan required after using qvm-pci to attach PCI devices to HVMs #3245
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Does it work at all if VM initially had no PCI device at all? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
qubesuser
Oct 28, 2017
I think it did for one device, while trying it for another device just triggered #3233 upon PCI rescan (which I now discovered is not related to using two devices apparently).
qubesuser
commented
Oct 28, 2017
|
I think it did for one device, while trying it for another device just triggered #3233 upon PCI rescan (which I now discovered is not related to using two devices apparently). |
andrewdavidwong
added
bug
C: core
labels
Oct 28, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Oct 28, 2017
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 31, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
qubesuser commentedOct 28, 2017
Qubes OS version:
R4.0-rc2
Steps to reproduce the behavior:
Expected behavior:
The PCI device is visible immediately after attaching with qvm-pci
Actual behavior:
The PCI device is only visible after rescanning the PCI bus in the VM.
General notes:
It looks like the Qemu machine model we are using might not support PCI hotplugging.
One option is to switch to one that does if possible (I guess q35 does?), and the other option is to just use qrexec to trigger a PCI rescan on the guest operating system.