Skip to contentSkip to conversation

Deleting UDP socket in monitor mode

Qemu-devel Vincent Autefage 3 participants 3 messages Oct 31, 2012 – May 20, 2013

lore
Share & tools
lore
#0 lore raw

Public bug reported:

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

** Affects: qemu
Importance: Undecided
Status: New

Signature · 44 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1073585

Title:
  Deleting UDP socket in monitor mode

Status in QEMU:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1073585/+subscriptions
#1 lore raw

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

** Changed in: qemu
Assignee: (unassigned) => Lei Li (matrixs-zero)

Signature · 44 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1073585

Title:
  Deleting UDP socket in monitor mode

Status in QEMU:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1073585/+subscriptions
#2 lore raw
In reply to Vincent Autefage

** Changed in: qemu
Status: Fix Committed => Fix Released

Signature · 44 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1073585

Title:
  Deleting UDP socket in monitor mode

Status in QEMU:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1073585/+subscriptions