Deleting UDP socket in monitor mode

Bug #1073585 reported by Vincent Autefage
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Lei Li

Bug Description

Hi,

Here is the problem.
I start an empty QEMU in monitor mode :

QEMU 1.1.2 monitor - type 'help' for more information
Warning: vlan 0 is not connected to host network
(qemu) info network
VLAN 0 devices:
  e1000.0: type=nic,model=e1000,macaddr=a2:00:00:00:00:01
Devices not on any VLAN:
(qemu) host_net_add socket vlan=0,name=socket.0,udp=127.0.0.1:7000,localaddr=127.0.0.1:7001
(qemu) info network
VLAN 0 devices:
  e1000.0: type=nic,model=e1000,macaddr=a2:00:00:00:00:01
  socket.0: type=socket,socket: udp=127.0.0.1:7000
Devices not on any VLAN:
(qemu) host_net_remove 0 socket.0
invalid host network device socket.0
(qemu) info network
VLAN 0 devices:
  e1000.0: type=nic,model=e1000,macaddr=a2:00:00:00:00:01
  socket.0: type=socket,socket: udp=127.0.0.1:7000

I cannot delete the socket (however, it works with TCP sockets)

Thanks!

Vince

Revision history for this message
Lei Li (matrixs-zero) wrote :

Hi,

I reproduced this problem and have already submit a patch
to fix it:

http://patchwork.ozlabs.org/patch/196116/

Changed in qemu:
status: New → Fix Committed
assignee: nobody → Lei Li (matrixs-zero)
Aurelien Jarno (aurel32)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.