Hi
I followed the instructions
here to set up pci-passthrough for an audio card. I have unbound the pci device from the host and assigned it to the guest with the option
Code:
-device pci-assign,host=08:01.0
.
When I try to start this happens:
Code:
>>>qemu-system-x86_64 -m 1024 --enable-kvm -usb -vga qxl -spice port=6453,disable-ticketing -device pci-assign,host=08:01.0 win7audio.qcow2
qemu-system-x86_64: -device pci-assign,host=08:01.0: Could not open '/sys/bus/pci/devices/0000:08:01.0/config': Permission denied
qemu-system-x86_64: -device pci-assign,host=08:01.0: Device initialization failed.
qemu-system-x86_64: -device pci-assign,host=08:01.0: Device 'kvm-pci-assign' could not be initialized
However when I run qemu with sudo it works. Is there a way to make this work without running as root.
versions:
slackware 14.1 64bit
qemu 2.1.0