no useful error message when tap device open fails

Bug #584153 reported by Michael Tokarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned
qemu-kvm (Debian)
Fix Released
Unknown

Bug Description

When using tap network devices and it fails, qemu gives no information about what the problem is (permission denied, device busy or other), making debugging of such situations, especially for newbies, very difficult. The proposed patch just adds strerror() around the place, making it more friendly.

See also Debian bug#578154, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578154 and a discussion on qemu-devel at http://marc.info/?t=127192875200003 .

Tags: patch
Revision history for this message
Michael Tokarev (mjt+launchpad-tls) wrote :
Changed in qemu-kvm (Debian):
status: Unknown → Fix Released
Revision history for this message
Joel Schopp (joel-schopp) wrote :

Please send this patch with a signed-off-by: to the linux kernel mailing list and netdev mailing lists, see http://www.kernel.org/pub/linux/docs/lkml/#s3-3

Changed in qemu:
status: New → Incomplete
Revision history for this message
Luiz Capitulino (lcapitulino) wrote :

Michael's fix is good, but it got forgotten, probably because he has submitted it in the middle of a thread.

I'm going resubmit it again.

Changed in qemu:
status: Incomplete → In Progress
Aurelien Jarno (aurel32)
Changed in qemu:
status: In Progress → Fix Committed
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.