Markus Armbruster 3949e59414 qemu-char: Saner naming of memchar stuff & doc fixes
New device, has never been released, so we can still improve things
without worrying about compatibility.

Naming is a mess.  The code calls the device driver CirMemCharDriver,
the public API calls it "memory", "memchardev", or "memchar", and the
special commands are named like "memchar-FOO".  "memory" is a
particularly unfortunate choice, because there's another character
device driver called MemoryDriver.  Moreover, the device's distinctive
property is that it's a ring buffer, not that's in memory.  Therefore:

* Rename CirMemCharDriver to RingBufCharDriver, and call the thing a
  "ringbuf" in the API.

* Rename QMP and HMP commands from memchar-FOO to ringbuf-FOO.

* Rename device parameter from maxcapacity to size (simple words are
  good for you).

* Clearly mark the parameter as optional in documentation.

* Fix error reporting so that chardev-add reports to current monitor,
  not stderr.

* Replace cirmem in C identifiers by ringbuf.

* Rework documentation.  Document the impact of our crappy UTF-8
  handling on reading.

* QMP examples that even work.

I could split this up into multiple commits, but they'd change the
same documentation lines multiple times.  Not worth it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-06 16:35:19 -06:00
2013-01-10 15:11:53 -06:00
2013-01-26 13:15:35 +00:00
2013-01-25 10:49:46 -02:00
2012-12-19 08:29:06 +01:00
2013-01-18 19:06:57 +01:00
2013-02-01 15:53:11 -06:00
2013-02-01 18:05:30 -06:00
2013-02-05 20:51:37 -06:00
2012-10-24 10:26:22 +02:00
2013-02-01 15:53:11 -06:00
2013-01-21 09:17:16 +01:00
2013-01-30 16:03:57 +00:00
2013-02-01 15:53:11 -06:00
2013-02-01 15:53:11 -06:00
2013-02-06 08:29:58 -06:00
2012-09-07 09:02:44 +03:00
2012-11-01 13:10:06 +01:00
2012-05-14 07:27:24 +02:00
2013-02-06 08:29:21 -06:00
2012-12-20 23:08:47 +01:00
2011-12-09 11:25:22 +00:00
2013-01-30 10:42:29 +01:00
2013-01-26 13:15:35 +00:00
2012-12-20 23:09:25 +01:00
2013-01-17 10:24:52 -02:00
2011-12-11 17:50:43 -06:00
2013-02-01 11:02:55 -06:00
2010-03-14 22:04:50 +01:00
2013-02-01 18:05:30 -06:00
2013-01-15 04:09:14 +01:00

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

- QEMU team
Description
No description provided
Readme 418 MiB
Languages
Rust 68.8%
C 26.3%
C++ 3%
Python 0.9%
Shell 0.5%
Other 0.3%