-
Jens Freimann authored
Since commit 0f8c289a "net: fix -netdev socket,fd= for UDP sockets" we allow more than one parameter for -netdev socket. But now we run into an assert when no parameter at all is specified > qemu-system-x86_64 -netdev socket socket.c:729: net_init_socket: Assertion `sock->has_udp' failed. Fix this by reverting the change of the if condition done in 0f8c289a. Cc: Jason Wang <jasowang@redhat.com> Cc: qemu-stable@nongnu.org Fixes: 0f8c289a Reported-by:
Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Signed-off-by:
Jens Freimann <jfreimann@redhat.com>
Signed-off-by:
Jason Wang <jasowang@redhat.com>Jens Freimann authoredSince commit 0f8c289a "net: fix -netdev socket,fd= for UDP sockets" we allow more than one parameter for -netdev socket. But now we run into an assert when no parameter at all is specified > qemu-system-x86_64 -netdev socket socket.c:729: net_init_socket: Assertion `sock->has_udp' failed. Fix this by reverting the change of the if condition done in 0f8c289a. Cc: Jason Wang <jasowang@redhat.com> Cc: qemu-stable@nongnu.org Fixes: 0f8c289a Reported-by:
Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Signed-off-by:
Jens Freimann <jfreimann@redhat.com>
Signed-off-by:
Jason Wang <jasowang@redhat.com>
Loading