sudo cp ~/libvirt/hooks/qemu /var/lib/libvirt/hooks/qemu
sudo chmod +x /var/lib/libvirt/hooks/qemu

sudo mkdir -p /var/lib/libvirt/hooks/qemu.d/win11/prepare/begin
sudo cp ~/libvirt/hooks/qemu.d/win11/prepare/begin/start.sh /var/lib/libvirt/hooks/qemu.d/win11/prepare/begin/start.sh
sudo chmod +x /var/lib/libvirt/hooks/qemu.d/win11/prepare/begin/start.sh

sudo mkdir -p /var/lib/libvirt/hooks/qemu.d/win11/release/end
sudo cp ~/libvirt/hooks/qemu.d/win11/release/end/stop.sh /var/lib/libvirt/hooks/qemu.d/win11/release/end/stop.sh
sudo chmod +x /var/lib/libvirt/hooks/qemu.d/win11/release/end/stop.sh

sudo mkdir -p /var/lib/libvirt/vgabios
sudo cp ~/libvirt/vgabios/gpuvbios.rom /var/lib/libvirt/vgabios/gpuvbios.rom
