Literally the same bugus virtualis as here: "qemu-kvm aborts with -chardev udp,..." https://bugzilla.redhat.com/show_bug.cgi?id=1220252 # qemu-system-x86_64 -chardev udp,id=charrng0,host=127.0.0.1,port=1234,localaddr=,localport=1234 qemu-system-x86_64: -chardev udp,id=charrng0,host=127.0.0.1,port=1234,localaddr=,localport=1234: Invalid parameter 'localaddr' Aborted OR via "Serial UDP net console" / libvirt & virt-manager: Error starting domain: internal error: process exited while connecting to monitor: ... qemu-system-x86_64: -chardev udp,id=charserial0,host=127.0.0.1,port=4555,localaddr=127.0.0.1,localport=4556: Invalid parameter 'localaddr' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1423, in startup self._backend.create() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1007, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error: process exited while connecting to monitor: ... qemu-system-x86_64: -chardev udp,id=charserial0,host=127.0.0.1,port=4555,localaddr=127.0.0.1,localport=4556: Invalid parameter 'localaddr' $ qemu-system-x86_64 --version QEMU emulator version 2.3.1 (qemu-2.3.1-3.fc22), Copyright (c) 2003-2008 Fabrice Bellard $ rpm -qf /usr/bin/qemu-system-x86_64 qemu-system-x86-2.3.1-3.fc22.x86_64 Ref. - [v2] util: socket: Add missing localaddr and localport option for DGRAM socket https://patchwork.ozlabs.org/patch/472701 - [PATCH] util: socket: Add missing localaddr and localport o https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg02604.html - [PATCH v2] util: socket: Add missing localaddr and localpor https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg03175.html
On Rawhide: $ qemu-system-x86_64 -version QEMU emulator version 2.4.0.1 (qemu-2.4.0.1-2.fc24), Copyright (c) 2003-2008 Fabrice Bellard $ rpm -q qemu qemu-2.4.0.1-2.fc24.x86_64 no problemos with 'localaddr', but with a "Connection refused".
(In reply to poma from comment #1) ... > but with a "Connection refused". As mister Bonzini explained - "nc -up 4555 localhost 4556" OR socat - UDP:127.0.0.1:4556,sourceport=4555 Undoubtedly, should specify the source port in the UDP combination. Thanks.
Commit is: commit b8981dc9aae25fa79e5f35609e63f50f078a572d Author: Peter Krempa <pkrempa> Date: Fri May 15 11:31:43 2015 +0200 util: socket: Add missing localaddr and localport option for DGRAM socket
qemu-2.3.1-7.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-d5c1048b47
$ qemu-system-x86_64 --version QEMU emulator version 2.3.1 (qemu-2.3.1-7.fc22), Copyright (c) 2003-2008 Fabrice Bellard $ nc -v -up 4555 localhost 4556 Ncat: Version 6.47 ( http://nmap.org/ncat ) Ncat: Connected to 127.0.0.1:4556. Fedora 24 (Rawhide) Kernel 4.3.0-0.rc4.git1.1.fc24.x86_64 on an x86_64 (ttyS0) localhost login:
qemu-2.3.1-7.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update qemu' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-d5c1048b47
qemu-2.3.1-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.