connecting two local qemu-kvm with -net socket,listen=127.0.0.1:12320 in one machine and -net socket,connect=127.0.0.1:12320 in the other does not work anymore WORKS: qemu-kvm-2.6.0-6.fc25.x86_64 FAILS: qemu-kvm-2.7.0-0.1.rc2.fc26.x86_64
Maybe this? commit 1dc8a6695c731abb7461c637b2512c3670d82be4 Author: Marc-André Lureau <marcandre.lureau> Date: Tue Aug 16 12:33:32 2016 +0400 char: fix waiting for TLS and telnet connection The fix seems more general than that subject suggests though. It's in -rc3 which I'll build now, then let me know if it fixes your case
with or without the patch, I can do 1. qemu-system-x86_64 -net socket,listen=127.0.0.1:12320 2. qemu-system-x86_64 -net socket,connect=127.0.0.1:12320 Could you describe in more details your tests and failure/error. Thank
(In reply to Marc-Andre Lureau from comment #2) > with or without the patch, I can do > > 1. qemu-system-x86_64 -net socket,listen=127.0.0.1:12320 in this a dhcp server is running > 2. qemu-system-x86_64 -net socket,connect=127.0.0.1:12320 in this a dhcp client is running > > Could you describe in more details your tests and failure/error. Thank there is no network connectivity between those two machines, which results in the client not getting any IP address from the server Downgrading qemu fixes the problem as noted in comment #1
not fixed with qemu-kvm-2:2.7.0-0.2.rc3.fc26.x86_64
Reproducer: $ sudo dnf install dash asciidoc nfs-utils dhcp-server kmod-devel gcc qemu $ git clone https://github.com/dracutdevs/dracut.git $ cd dracut $ ./configure $ make $ cd test/TEST-20-NFS/ This can be repeated to test qemu-kvm versions $ sudo make clean setup run
The regression comes from: commit 7e8449594c92992342512061160bc846c922016d Author: Ashijeet Acharya <ashijeetacharya> Date: Sat Jun 18 13:24:02 2016 +0530 Change net/socket.c to use socket_*() functions I am working on a fix.
I sent 2 patches upstream for 2.7
http://lists.nongnu.org/archive/html/qemu-devel/2016-08/msg03566.html
This is fixed in f25+ with the 2.7.0 release