Gerd Hoffmann 191bc01bc9 switch chardev to QemuOpts: infrastructure, null device
start switching chardevs to QemuOpts.  This patch adds the
infrastructure and converts the null device.

The patch brings two new functions:

qemu_chr_open_opts()
	same as qemu_chr_open(), but uses QemuOpts instead of a
	option char string.

qemu_chr_parse_compat()
	accepts a traditional chardev option string, returns the
	corresponding QemuOpts instance, to handle backward
	compatibility.

The patch also adds a new -chardev switch which can be used to create
named+unconnected chardevs, like this:

	-chardev null,id=test

This uses the new qemu_chr_open_opts.  Thus with this patch alone only
the null device works.  The other devices will follow ...

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-11 10:19:47 -05:00
2009-09-11 10:19:46 -05:00
…
2009-09-11 10:19:47 -05:00
2009-09-11 09:13:04 +02:00
2009-09-05 10:14:07 +00:00
2009-08-27 20:30:22 -05:00
…
…
…
…
…
…
…
…
…
…
2009-09-11 10:19:46 -05:00
2009-09-11 10:19:46 -05:00
2009-09-11 10:19:46 -05:00
…
…
…
…
…
2009-09-04 09:37:34 -05:00
2009-09-04 09:37:33 -05:00
2009-09-04 09:37:34 -05:00
…
…
2009-09-09 17:31:27 -05:00
…
2009-09-04 09:37:31 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-09-06 16:32:13 +00:00
…
…
…
2009-08-27 20:35:30 -05:00
…
…
…
2009-09-10 19:48:01 +04:00
2009-08-27 19:33:15 -05:00
…
…
…
2009-09-04 09:37:30 -05:00
…
…
2009-09-04 09:37:31 -05:00
…
2009-08-27 20:30:20 -05:00
…
…
…
…
2009-09-04 09:37:29 -05:00
…
2009-09-04 09:37:29 -05:00
2009-09-04 09:37:29 -05:00
2009-09-04 09:37:29 -05:00
…
2009-09-09 17:31:24 -05:00
…
…
…
2009-09-09 14:55:16 -05:00
2009-09-04 09:37:31 -05:00
…
…
…
2009-09-11 10:19:42 -05:00
…
…
…
…
…
…
…

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 831 MiB
Languages
C 83.3%
C++ 6%
Python 3.6%
Dylan 2.7%
Shell 1.2%
Other 3%