I would like to ask you about a problem related to virt-manager and Qemu. I'm trying to use this program to create a Qemu virtual machine from Gentoo, but I'm having trouble establishing a network connection.
As I have read, so that the virtual machines can use the network connection of the host, I need to create a virtual network, which will be associated with an interface of the host computer and will be selected as a device associated with the network card of the virtual machine.
But it turns out that when I try to create a virtual network from the "details" window, the option to add networks appears disabled
I have tried to activate the interfaces from the "network interfaces" tab, but it gives me this error
Error setting interface startmode: esta función no está soportada por el controlador de conexión: virInterfaceDefineXML
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/host.py", line 788, in interface_apply
interface.set_startmode(newmode)
File "/usr/share/virt-manager/virtManager/interface.py", line 109, in set_startmode
self._redefine_xmlobj(xmlobj)
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 389, in _redefine_xmlobj
self._define(newxml)
File "/usr/share/virt-manager/virtManager/interface.py", line 44, in _define
return self.conn.define_interface(xml)
File "/usr/share/virt-manager/virtManager/connection.py", line 684, in define_interface
return self._backend.interfaceDefineXML(xml, 0)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3801, in interfaceDefineXML
if ret is None:raise libvirtError('virInterfaceDefineXML() failed', conn=self)
libvirtError: esta función no está soportada por el controlador de conexión: virInterfaceDefineXML´
I have followed all the steps indicated in the Gentoo wiki, activating all the elements of the kernel indicated there, and loading the necessary modules, but it still does not work.
I have even tried to start virt-manager with root permissions, but without success
Any idea how I can fix it?