You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had this problem on my Debian and I managed to solve it with these steps:
Remove the qemu-img from /usr/local/bin/:
sudo rm /usr/local/bin/qemu-img
Verify the correct location of qemu-img from the Debian package:
which qemu-img
It should point to /usr/bin/qemu-img
Make sure the correct qemu-img is executable:
ls -l /usr/bin/qemu-img
Verify the permissions on the images directory:
ls -ld /var/lib/libvirt/images/
Restart libvirtd:
sudo systemctl restart libvirtd
After doing these steps, try creating your VM again. The system should now use the proper qemu-img binary from /usr/bin/ instead of the one in /usr/local/bin/.
If you still have issues, you might want to check:
修改权限后sudo chmod +x /usr/local/bin/qemu-system-x86_64,还是不行
大佬能帮忙看看是什么问题嘛
The text was updated successfully, but these errors were encountered: