Hi! I have been trying to install Virtual Machine Manager and get it working.
When I attempted to install a virtual machine. I got this error.
Unable to complete install: 'Unable to open /dev/net/tun, is tun module loaded?: No such file or 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/createvm.py", line 2001, in _do_async_install
File "/usr/share/virt-manager/virtinst/install/installer.py", line 701, in start_install
domain = self._create_guest(
File "/usr/share/virt-manager/virtinst/install/installer.py", line 649, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib/python3.9/site-packages/libvirt.py", line 4393, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: Unable to open /dev/net/tun, is tun module loaded?: No such file or directory
I checked the directory and it appears that tun is missing.
I have followed the installation steps on all these sites.
With very few modifications, the tutorial will work with Manjaro. The concepts described are the same for all Linux distros. You will find plenty of links to other tutorials as well.
In general, the Arch Linux wiki is a great source of information if you know what to look for. I hope that my tutorial will better describe the requirements and steps necessary to run a passthrough VM (VFIO as it is referred to nowadays).