Markus Armbruster 46ede58bb4 vl: Fix bogus error message for implied mon ID clashing
monitor_parse() desugars --monitor, --qmp and -qmp-pretty to --mon.
The ID it picks can clash with a user-specified ID.  When it happens,
the error message is misleading.

Reproducer:

    $ qemu --mon id=compat_monitor0 --monitor stdio

Message before the patch:

    duplicate chardev: compat_monitor0

There's no "duplicate chardev" here.  The problem is a duplicate
monitor ID.  Moreover, the message provides no clue which option
caused the problem.  The patch changes the message to:

    qemu: --monitor stdio: Duplicate ID 'compat_monitor0' for mon

monitor_parse() is also used for creating a default monitor, but
that's not done when the user specifies a monitor, so an ID clash is
impossible then.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-02-10 09:27:20 +03:00
2015-02-02 16:55:10 +01:00
…
2015-02-06 16:11:38 +00:00
2014-11-14 12:15:40 +01:00
2015-02-05 17:16:14 +01:00
2015-02-03 13:42:40 +01:00
2015-02-06 17:24:22 +01:00
2015-02-02 16:55:10 +01:00
…
…
…
…
…
…
2015-02-02 16:55:11 +01:00
2015-01-07 16:16:26 +01:00
…
2015-01-26 12:27:05 +01:00
…
2014-10-24 12:19:11 +01:00
2014-09-26 13:37:06 -04:00
…
2015-02-05 17:16:14 +01:00
2015-02-06 17:24:22 +01:00
2015-01-15 10:44:13 +03:00
2014-12-12 15:48:26 +00:00
2015-02-06 17:24:22 +01:00
…
…
2015-02-05 17:16:14 +01:00
…
2015-01-14 10:38:57 +01:00
…
…
…
2014-12-09 21:48:34 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
A QEMU emulator for legacy Apple devices
Readme GPL-2.0
557 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.9%
C++ 6.4%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.7%