Michael Tokarev 91ca60e012 give some useful error messages when tap open
In net/tap-linux.c, when manipulation of /dev/net/tun fails, it prints
(with fprintf) something like this:

  warning: could not open /dev/net/tun: no virtual network emulation

this has 2 issues:
 1) it is not a warning really, it's a fatal error (kvm exits after
that),
 2) there's no indication as of what's actually wrong: printing errno there
    is helpful.

The patch below removes the "warning" prefix, uses %m (since it's linux,
%m is available as format modifier), and changes fprintf() to %qemu_error().
Now it prints something like this instead:

 could not configure /dev/net/tun: Device or resource busy

(there are 2 messages like that in the same function)

This fixes Debian bug , see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578154

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-06-22 15:15:30 -05:00
2010-05-22 08:02:12 +00:00
2010-06-10 00:09:49 +02:00
2010-05-22 08:00:52 +00:00
2010-06-16 13:03:51 +01:00
2010-06-20 07:55:12 +00:00
2010-05-14 10:55:58 -05:00
2010-06-11 20:37:51 +01:00
2010-06-16 13:46:15 +02:00
2010-06-19 07:47:42 +00:00
2010-06-09 23:37:36 +02:00
2010-05-07 16:28:10 +00:00
2010-05-20 21:04:47 +02:00
2010-03-06 23:09:28 +01:00
2010-06-14 11:12:53 -05:00
2010-06-16 13:03:51 +01:00
2010-04-09 18:55:56 +02:00
2010-04-09 18:55:56 +02:00
2010-06-22 14:38:02 +02:00
2010-06-22 14:38:02 +02:00
2010-05-31 20:55:23 +02:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-06-14 11:12:53 -05:00
2010-04-25 12:59:33 +00:00
2010-03-21 19:44:06 +00:00
2010-05-24 15:18:23 -05:00
2010-03-17 11:16:15 -05:00
2010-04-01 21:51:59 +02:00
2010-04-01 21:51:59 +02:00
2010-03-01 04:39:50 +00:00
2010-06-13 19:00:50 +01:00
2010-05-19 15:24:17 +02:00
2010-06-14 11:12:53 -05:00
2010-06-16 13:03:51 +01:00
2010-06-16 13:03:51 +01:00
2010-03-29 19:24:00 +00:00
2010-05-22 08:02:12 +00:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-06-11 15:25:14 -03:00
2010-03-06 23:15:30 +01:00
2010-03-06 23:15:30 +01:00
2010-06-13 19:00:50 +01:00
2010-06-16 13:03:51 +01:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2010-03-19 15:27:27 -05:00
2010-06-22 15:15:30 -05:00
2010-05-03 12:39:12 -05:00
2010-05-22 08:02:12 +00:00
2010-06-13 19:00:50 +01:00
2010-06-13 19:00:50 +01:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-06-19 07:47:42 +00:00
2010-05-29 02:27:35 +01:00
2010-06-04 11:43:39 +02:00
2010-06-15 09:41:59 +02:00
2010-05-17 10:20:04 +02:00
2010-05-19 12:45:54 -03:00
2010-03-29 19:24:00 +00:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-06-11 15:25:14 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-06-15 09:41:59 +02:00
2010-06-14 15:46:28 -05:00
2010-03-14 22:04:50 +01:00
2010-06-14 15:46:28 -05:00
2010-06-13 19:00:50 +01:00
2010-06-01 13:30:08 -05:00
2010-05-24 15:18:24 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%