Skip to main content
4 votes
Accepted

`libvirtd` crashes the system

It turns out I misunderstood the guide. In there, it says to select /dev/sdb (which is what I have), not /dev/sdb2 (which is what I thought, I only wanted that partition). There's a similar problem ...
a concerned citizen's user avatar
4 votes
Accepted

lsusb lists devices on different PCI controllers under the same USB hub

USB 3.0 in 5G mode isn't compatible to USB 2.0 or earlier, so the way they implemented compatibility is to use one pin pair in the same position as for USB 2.0 for legacy devices, and two new pin ...
dirkt's user avatar
  • 33.4k
3 votes

Passing a USB device to Qemu KVM

If using a graphical front-end is okay for you, virt-manager's USB-passthrough works. In the info section click add Hardware and select USB Host Device. I use it to pass pen drives to Windows 10 ...
Colin's user avatar
  • 31
3 votes

Passing a USB device to Qemu KVM

just thought I'd put my two cents in. I was trying to add a usb printer to my VM and tried the whole "qemu-kvm" command route to no avail. I eventually just manually added the xml entry ...
chunky_pie's user avatar
2 votes
Accepted

virsh preboot script

You can use a libvirt hook to run arbitrary programs when a VM or network is started or stopped. For instance, you can create a file /etc/libvirt/hooks/qemu which determines if your VM is being ...
Michael Hampton's user avatar
2 votes

Too few IOMMU groups - split?

Well, it seems to be a very complicated question. It was a really hard nut. First I suspected the OS, because I installed Debian testing (Bullseye), what is somewhat more dangerous than stable version....
schweik's user avatar
  • 1,450
2 votes
Accepted

VT-d support enabled but IOMMU groups are missing

You need to add intel_iommu=on to kernel load parameters. By default this parameter is disabled (I don't know distro which set this parameter to on by default). When you've enabled IOMMU in BIOS, then ...
Yurij Goncharuk's user avatar
2 votes

difference betweeen passthrough NIC and bridge setup in qemu

A pass-through NIC setup means as if the hardware would be itself connected to the machine instead of being connected to the host machine. Likewise, it will also mean you have to setup the hw and ...
Rui F Ribeiro's user avatar
1 vote

PCI Passthrough via OVMF; No Video Output

It was an easy fix, I just had to add video=efifb:off to the grub config.
jenusipr's user avatar
1 vote

Passing a USB device to Qemu KVM

I'm new to this platform, so forgive my formatting. As indicated before it all starts with lsusb Get the bus and device numbers, in your case 1 and 18. Then, make a jetflash.xml file containing: <...
StefC's user avatar
  • 11
1 vote
Accepted

Monitor plugged into integrated graphics but use dedicated graphics for rendering games

After doing some research it seems that PRIME is what I was looking for. https://wiki.archlinux.org/index.php/PRIME It allows the GPU to be inactive when a non GPU intensive program is running but ...
andstu's user avatar
  • 31
1 vote

Passthrough Sonnet USB-C card to Windows guest via KVM and vfio

I know I am a bit late to the party but I hope the following can help people on google quests facing similar issues. Please note I have only tested this on discrete USB controllers. xhci_hcd is indeed ...
aljazzair's user avatar
1 vote
Accepted

How do I translate between qemu-system arguments and virt-install arguments so I can unify partially working commands?

I believe you are looking for the --hostdev option to virt-install. It can take a PCI bus location and other flags. The full list is show with: virt-install --hostdev=? The options needed for above ...
penguin359's user avatar
  • 12.4k
1 vote

lsusb lists devices on different PCI controllers under the same USB hub

The xHCI controller has actually two buses in one. The superspeed bus: /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M ... and the traditional USB2 one: /: Bus 03.Port 1: Dev 1, ...
telcoM's user avatar
  • 114k
1 vote

Can a KVM guest VM's kernel be more recent than its host? (When hardware passthrough is in effect)

If you passtrough some hardware to a guest system the host has no way of accessing it, in fact you need to blacklist nouveau/nvidia to make sure that the vfio driver can expose it to the VM. Yes the ...
Matt's user avatar
  • 193
1 vote

VFIO cannot be used for the Memory Controller

The answer seems to be: of course I cannot pass the Memory Controller to the VM. And since the Audio Card is in the same IOMMU group as the Memory Controller, I will not be able to pass it to the VM.
Alejandro DC's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible