Recently I has been trying to setup a QEMU/KVM Virtual Machine using Virt Manager, and I got problem setting up bridged connection for Windows VM. In the VM’s settings under network card I set Device Model to virtio (I have virtio drivers installed on guest) and Network Source to Bridged Device and Device name to win10vm. After trying to launch it I get message: Error starting domain: Cannot get interface MTU on 'win10vm': No such device.
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
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 1384, in startup
File "/usr/lib/python3.10/site-packages/libvirt.py", line 1362, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: Cannot get interface MTU on 'win10vm': No such device
There is a more general page with information on how this can be set up. This will not work out of the box on Manjaro, you will need to translate this to Manjaro/Arch based system. It will not work without fundamental changes to your system. You might want to consider a more simple setup with a NAT. But check out the optional dependencies for libvirt, you probably need to install some more packages.
Indeed, but often with this option, there is not Host-Guest communication, which is sometimes wanted.
Personally on a desktop system, create a virtual network, with a NAT. Is not that complicated and the VM has the same network access as the host and the host can access the VM. Only other network devices can’t access the VM (Port forwarding is still a option.)
But it doesn’t matter, the OP just need to choose some way. The current isn’t that simple.