diff options
author | Jens Freimann <jfreimann@redhat.com> | 2017-08-08 22:38:57 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-08-09 04:22:13 +0300 |
commit | 0f8c289ad539feb5135c545bea947b310a893f4b (patch) | |
tree | cdb527021f0cd0c34521be2f0d0c5a1921a04b37 /contrib/libvhost-user | |
parent | cde0a63ad721dbb538419a00f9405587680be436 (diff) | |
download | qemu-0f8c289ad539feb5135c545bea947b310a893f4b.zip qemu-0f8c289ad539feb5135c545bea947b310a893f4b.tar.gz qemu-0f8c289ad539feb5135c545bea947b310a893f4b.tar.bz2 |
net: fix -netdev socket,fd= for UDP sockets
This patch fixes -netdev socket,fd= for UDP sockets
Currently -netdev socket,fd=<...> results in
qemu: error: specified mcastaddr "127.0.0.1" (0x7f000001) does not
contain a multicast address
qemu-system-x86_64: -netdev
socket,id=n1,fd=3: Device 'socket' could not be initialized
To fix these we need to allow specifying multicast and fd arguments
for the same netdev. With this the user can specify "-netdev
fd=3,mcast=<IP:port>"
Cc: Jason Wang <jasowang@redhat.com>
Fixes: 3d830459b1eccdb61b75e2712fd364012ce5a115
Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'contrib/libvhost-user')
0 files changed, 0 insertions, 0 deletions