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
The network of currently started QEMU VM stops working (symptom: ping 1.1.1.1 times out) when another VM (with unique MAC address) boots up but DOES NOT initiate any DHCP request.
However, after the second VM finishes its DHCP request, the network on first VM resumes to normal.
socket_vmnet send packets received from one vm or the vmnet interface to all other vms. It uses writev() which will block forever if the other side does not read from the socket.
Maybe qemu is not reading from the socket until the guest set up the network. In this case the socket buffer will become full at some point. This will cause socket_vment to block trying to send packet to the new vm.
OS / App Versions
Problem
The network of currently started QEMU VM stops working (symptom:
ping 1.1.1.1
times out) when another VM (with unique MAC address) boots up but DOES NOT initiate any DHCP request.However, after the second VM finishes its DHCP request, the network on first VM resumes to normal.
Steps to Reproduce
1. start socket_vmnet
2. start VM `vmnet-test-01`
3. acquire IP via DHCP for vmnet-test-01
4. start VM `vmnet-test-02`
5. after 1-2 minutes, network on vmnet-test-01 stops working
6. repeat step 3 for vmnet-test-02
7. surprisingly, now networks on both VMs resume to normal
Debug Log
https://gist.github.com/iwinux/305a9bea6b77c5c44494bb1883354f72
The text was updated successfully, but these errors were encountered: