Closed apprehensions closed 3 years ago
checking the logs it seems that my gpu is being used? qemu-system-x86_64: vfio_region_write(0000:01:00.0:region1+0x1fd308, 0xff0c0c0cff0e0e0e,8) failed: Device or resource busy
I Updated the start and stop scripts recently. Try working with those.
nothing has changed, something else i realized is that qemu doesn't even execute any script at all in the directory
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 peer
I've removed the unloading of the nvidia modules manually in the start script, which it looks like you've still got there in yours. Try taking out the modprobe -r statements in the start script.
Are both scripts set to executable?
i have no idea what i did, but it works now, i might diagnose this later when i reinstall my linux distrobution, also i dont get why you removed the unloading of the nvidia modules, that will just cause errors iirc.
It used to cause errors, however, virsh-nodedev seems to properly do what it was originally intended to do, which is to properly bind the pci device to vfio.
Through some testing, I and quite a few other people have found that you will run into fewer issues by letting virsh-nodedev handle binding and unbinding.
Hi, joeknock90
virsh nodedev-dettach pci_0000_05_00_0
Just hangs. I have no clue to what is wrong. No diagnostics / debug mode.
How would you recommend solving?
Thanks
Also stuck here with virsh nodedev-dettach
hanging forever.
I am having the same forever hanging issue ://
Same here
i've used the same script from my previous system, nothing has changed, i can execute the script alone but qemu cannot? i might live with but i would like it if qemu does it for me, it just completely freezes and i cannot restart or do anything to it. permissions are applied, i think this might be an issue with kvm or i'm just stupid
start script:
stop script:
xml: https://pastebin.com/0hM2eXEf