Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://download.qemu.org/qemu-5.0.0-rc1.tar.xz
- ./configure --enable-libusb (Otherwise No USB passthrough) ** other flags are available **
- sudo make && sudo make install
- Preliminary Steps for Binding and Unbinding - if you want to boot without vfio driver
- Also enables full passthrough. GPU tested Nvidia RTX 2080, Nvidia 1050ti
- Script 1 of 2
- #!/bin/sh
- PREREQS=""
- DEVS="0000:09:00.0 0000:09:00.1 0000:41:00.0 0000:41:00.1 0000:41:00.2 0000:41:00.3"
- for DEV in $DEVS;
- do echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
- done
- modprobe -i vfio-pc
- Script 2 of 2
- #Unbind from current driver (add ones that have not binded to the vfio driver)
- echo "10de 0fb9" > /sys/bus/pci/drivers/vfio-pci/new_id
- #unbind USB:
- echo "0000:09:00.1" > /sys/bus/pci/devices/0000:09:00.1/driver/unbind
- #Bind to vfio-pci
- echo "0000:09:00.1" > /sys/bus/pci/drivers/vfio-pci/bind
- #Rescan PCI
- echo 1 > /sys/bus/pci/rescan
Advertisement
Add Comment
Please, Sign In to add comment