Luiz Capitulino 48c043d0d1 hmp: human-monitor-command: stop using the Memory chardev driver
The Memory chardev driver was added because, as the Monitor's output
buffer was static, we needed a way to accumulate the output of an
HMP commmand when ran by human-monitor-command.

However, the Monitor's output buffer is now dynamic, so it's possible
for the human-monitor-command to use it instead of the Memory chardev
driver.

This commit does that change, but there are two important
observations about it:

 1. We need a way to signal to the Monitor that it shouldn't call
    chardev functions when flushing its output. This is done
    by adding a new flag to the Monitor object called skip_flush
	(which is set to true by qmp_human_monitor_command())

 2. The current code has buffered semantics: QMP clients will
    only see a command's output if it flushes its output with
	a new-line character. This commit changes this to unbuffered,
	which means that QMP clients will see a command's output
	whenever the command prints anything.

	I don't think this will matter in practice though, as I believe
	all HMP commands print the new-line character anyway.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
2013-04-05 08:42:29 -04:00
2013-03-23 14:25:41 +00:00
2013-04-05 08:42:29 -04:00
2012-12-19 08:29:06 +01:00
2013-03-25 09:13:18 +01:00
2013-04-04 00:28:37 +02:00
2013-03-22 13:25:07 +01:00
2013-03-26 16:16:43 -05:00
2013-04-05 08:42:29 -04:00
2013-03-26 16:16:43 -05:00
2013-03-26 16:16:43 -05:00
2013-03-22 13:25:07 +01:00
2013-04-01 18:49:17 +02:00
2012-09-07 09:02:44 +03:00
2012-11-01 13:10:06 +01:00
2013-02-21 16:17:31 -06:00
2012-05-14 07:27:24 +02:00
2013-04-02 14:05:15 -05:00
2008-10-12 17:54:42 +00:00
2013-03-12 10:35:55 +01:00
2013-03-23 14:25:41 +00:00
2013-02-16 14:50:59 +01:00
2013-02-21 16:17:31 -06:00
2011-12-09 11:25:22 +00:00
2013-03-23 14:25:42 +00:00
2013-03-11 13:32:03 +01:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:29:43 +01:00
2011-12-11 17:50:43 -06:00
2013-02-15 17:40:56 -06:00

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

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%