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 #578154, 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-01-13 17:14:16 -06: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
…
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
…
…
2009-09-25 19:53:21 +00: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-02-07 02:03:50 +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-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
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-06-13 19:00:50 +01:00
2010-05-19 15:24:17 +02:00
2009-09-12 07:36:22 +00: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
2009-12-17 18:12:04 +01:00
…
2010-05-22 08:02:12 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05: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
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06: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-02-06 19:24:42 +01:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2010-01-08 09:58:40 -06:00
2010-03-19 15:27:27 -05:00
2009-09-12 07:36:22 +00: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
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:39 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2009-10-27 12:28:59 -05: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
2009-10-01 16:12:16 -05: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
2009-11-17 08:49:38 -06: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
2009-12-03 09:41:18 -06: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
2009-10-01 16:12:16 -05:00
2009-07-08 18:25:37 +04:00
2009-09-13 19:38:43 +00:00
2010-06-14 15:46:28 -05:00
2010-03-14 22:04:50 +01:00
…
2009-10-01 16:12:16 -05:00
…
2010-06-14 15:46:28 -05:00
2009-10-01 16:12:16 -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.
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
727 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%