Answer the question
In order to leave comments, you need to log in
What could be the problem with video card forwarding?
Good afternoon!
There was a desire to make a virtual machine with video card forwarding (qemu + kvm).
Focused mainly on this guide: https://davidyat.es/2016/09/08/gpu-passthrough/
Available:
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
vfio
vfio_iommu_type1
vfio_pci
vhost-net
pci-stub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on pci-stub.ids=10de:11c6,10de:0e0b"
update-initramfs -u
update-grub
dmesg | grep pci-stub
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-32-generic root=UUID=584687ef-ebd7-4208-9e79-5ab3dfcf7266 ro quiet splash intel_iommu=on pci-stub.ids=10de:11c6,10de:0e0b vt.handoff=7
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-32-generic root=UUID=584687ef-ebd7-4208-9e79-5ab3dfcf7266 ro quiet splash intel_iommu=on pci-stub.ids=10de:11c6,10de:0e0b vt.handoff=7
[ 1.640890] pci-stub: add 10DE:11C6 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000
[ 1.640901] pci-stub 0000:01:00.0: claimed by stub
[ 1.640908] pci-stub: add 10DE:0E0B sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000
[ 1.640912] pci-stub 0000:01:00.1: claimed by stub
<features>
...
<hyperv>
<vendor_id state='on' value='whatever'/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
</features>
virsh start <name>
, which leads (as far as I can tell) to a system crash (ssh in the terminal stops showing signs of life, the host does not ping, there dmesg | grep pci-stub
only 01:00.1 remains (which, as I understand it, is the sound in a discrete video card).Answer the question
In order to leave comments, you need to log in
Almost everyone has problems with one video card, and even when the system starts up, upon completion of work, the host system will hang completely (in fact, no one is safe from this even with two video cards)
find yourself another card, at least an ancient pci;) really everything will be simplified
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question