You are not logged in.
Hello, im troubleshooting my QEMU vm setup. Im using default NAT and managing a windows 10 through virt-manager. The virtual network virbr0 does not work as intended.
First of all, dhcp does not work on guest, i can however set it manually and ping the virbr0 but pinging further than that results in PING transmit FAILED from cmd on win10 guest. I have checked my host iptables and they are automatically configured as intended.
I think i found some useful info when checking libvirtd.service.
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled; preset: disabled)
Active: active (running) since Sat 2023-02-25 09:07:20 UTC; 21min ago
TriggeredBy: ● libvirtd-ro.socket
● libvirtd-admin.socket
● libvirtd.socket
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 9860 (libvirtd)
Tasks: 22 (limit: 32768)
Memory: 42.7M
CPU: 3.119s
CGroup: /system.slice/libvirtd.service
├─8459 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
├─8460 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
└─9860 /usr/bin/libvirtd --timeout 120
Feb 25 09:07:20 gurkburken systemd[1]: Starting Virtualization daemon...
Feb 25 09:07:20 gurkburken systemd[1]: Started Virtualization daemon.
Feb 25 09:07:21 gurkburken dnsmasq[8459]: read /etc/hosts - 0 names
Feb 25 09:07:21 gurkburken dnsmasq[8459]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 names
Feb 25 09:07:21 gurkburken dnsmasq-dhcp[8459]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Feb 25 09:08:10 gurkburken libvirtd[9860]: g_hash_table_unref: assertion 'hash_table != NULL' failed
I have also tried using a bridged adapter but it fails when applying in virt-manager and i havent been able to solve that either.
Unable to add bridge wlan0 port vnet0: Operation not supported
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/addhardware.py", line 359, in change_config_helper
define_func(devobj=devobj, do_hotplug=True, **define_args)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 862, in define_network
self._process_device_define(editdev, xmlobj, do_hotplug)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 532, in _process_device_define
self.hotplug(device=editdev)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1124, in hotplug
self._update_device(device)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1085, in _update_device
self._backend.updateDeviceFlags(xml, flags)
File "/usr/lib/python3.10/site-packages/libvirt.py", line 3293, in updateDeviceFlags
raise libvirtError('virDomainUpdateDeviceFlags() failed')
libvirt.libvirtError: Unable to add bridge wlan0 port vnet0: Operation not supported
Can anyone point me in the right direction? I have looked through arch's wiki and libvirt's wiki and to my knowledge it should work. Especially since im using default NAT config.
Last edited by rullebanan (2023-02-25 16:20:27)
Offline
If I remmeber correctly, bridging with wifi cards is either not possible or a bit more complicated depending on the car, one github issue i found for virt-manager: https://github.com/virt-manager/virt-manager/issues/427 .
Offline