Skip to content

🐧 Single GPU passthrough script for Linux QEMU

Notifications You must be signed in to change notification settings

Edveikis/QEMU-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐧 QEMU-hooks

Custom hook script for Linux single GPU passthrough(QEMU).

πŸ–₯️ Installing the hooks

  1. Get device IDs using lspci -nnk
  2. Add the IDs to this file
  3. Run install.sh sudo sh install.sh or copy hooks/ folder into /etc/libvirt/

πŸ“š Installing dependencies

sudo apt update

sudo apt install virt-manager qemu-kvm qemu-utils libvirt-daemon-system libvirt-clients bridge-utils virt-manager ovmf

sudo apt install ebtables iptables dnsmasq

πŸƒ Starting the services(systemd)

sudo systemctl enable libvirtd.service

sudo systemctl start libvirtd.service

sudo systemctl enable virtlogd.socket

sudo systemctl start virtlogd.socket

sudo virsh net-autostart default

πŸ”„ Reboot

systemctl reboot

About

🐧 Single GPU passthrough script for Linux QEMU

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages