You are not logged in.
I just tried to setup a GPU passthrough VM using virt-manager, but when I attempt to start the VM, nothing happens and about half a minute later this error appears
Error starting domain: Cannot recv data: Connection reset by peer
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 101, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1329, in startup
self._backend.create()
File "/usr/lib/python3.9/site-packages/libvirt.py", line 1353, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: Cannot recv data: Connection reset by peerThere was nothing on the qemu logs but after I turned on libvirt logging I found this
2021-05-09 04:18:18.922+0000: 458: info : libvirt version: 7.1.0
2021-05-09 04:18:18.922+0000: 458: info : hostname: archlinux
2021-05-09 04:18:18.922+0000: 458: warning : virHookCheck:168 : Non-executable hook script /etc/libvirt/hooks/qemu
2021-05-09 04:18:18.922+0000: 458: warning : virHookCheck:194 : Non-executable hook script /etc/libvirt/hooks/qemu.d/win10
2021-05-09 04:18:19.865+0000: 659: error : udevGetUintProperty:199 : internal error: Missing udev property 'ID_VENDOR_ID' on '1-3'
2021-05-09 04:18:19.865+0000: 659: error : udevGetUintProperty:199 : internal error: Missing udev property 'ID_VENDOR_ID' on '1-3.2'
2021-05-09 04:19:29.008+0000: 458: error : virKeepAliveTimerInternal:137 : internal error: connection closed due to keepalive timeoutI have looked all over and cannot find anything about this error. Thanks in advance.
Last edited by Maybegus (2021-05-11 02:21:47)
Offline
2021-05-09 04:18:18.922+0000: 458: warning : virHookCheck:168 : Non-executable hook script /etc/libvirt/hooks/qemu
2021-05-09 04:18:18.922+0000: 458: warning : virHookCheck:194 : Non-executable hook script /etc/libvirt/hooks/qemu.d/win10Those script files don't seem to exist in archlinux repos , although (atleast) the first does appear in arch wiki .
Are you trying to follow https://wiki.archlinux.org/title/Intel_GVT-g ?
Welcome to archlinux forums.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I was trying to follow this guide: https://github.com/joeknock90/Single-GPU-Passthrough
Offline
That guide does look ok, Maybegus .
They do not mention one minor detail though : scripts need to have the executable bit set to be run.
Incase you don't know how to do that , check https://wiki.archlinux.org/title/Help:R … executable
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I thought I did this step but apparently I didn't. Thanks!
(for anyone in the future i did
sudo chmod +x /etc/libvirt/hooks/qemu)
Offline