« Previous | Next » 

Revision 7cd0874c


Added by aliguori almost 12 years ago

host_device_remove: remove incorrect check for device name (Eduardo Habkost)

There is no need to check for valid prefixes on the the device name
when removing it. If the device name is found on the vlan client list,
it can be removed, regardless of the prefix used on its name.

To reproduce the bug, just run this on the monitor:

(qemu) host_net_add user name=foobar
(qemu) host_net_remove 0 foobar
invalid host network device foobar

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6891 c046a42c-6fe2-441c-8c8c-71466251a162


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences