Купил PCI-карту Manli C-Media M-CMI8738-4CH, чтобы пробросить в виртуалку:
02:05.0 Multimedia audio controller: C-Media Electronics Inc CMI8738/CMI8768 PCI Audio (rev 10)
Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
Kernel driver in use: pci-stub
Kernel modules: snd_cmipci
CONFIG_CMDLINE="... ... pci-stub.ids=1002:6818,1002:aab0,13f6:0111"
blacklist snd_cmipci
# -...
-enable-kvm -realtime mlock=off -rtc base=localtime \
-m 4096 -machine pc-i440fx-2.0,accel=kvm -cpu host -smp 4,sockets=1,cores=4,threads=1 \
-device pci-assign,host=02:05.0 \
# -...
qemu-system-x86_64: -device pci-assign,host=02:05.0: Failed to assign device "(null)"
*** The driver 'pci-stub' is occupying your device 0000:02:05.0.
***
*** You can try the following commands to free it:
***
*** $ echo "13f6 0111" > /sys/bus/pci/drivers/pci-stub/new_id
*** $ echo "0000:02:05.0" > /sys/bus/pci/drivers/pci-stub/unbind
*** $ echo "0000:02:05.0" > /sys/bus/pci/drivers/pci-stub/bind
*** $ echo "13f6 0111" > /sys/bus/pci/drivers/pci-stub/remove_id
***: Device or resource busy
qemu-system-x86_64: -device pci-assign,host=02:05.0: Device initialization failed.
qemu-system-x86_64: -device pci-assign,host=02:05.0: Device 'kvm-pci-assign' could not be initialized
Кто сталкивался?