qemu-char: Introduce Memory driver
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 22 Oct 2010 18:09:05 +0000 (16:09 -0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 17 Nov 2010 11:52:24 +0000 (09:52 -0200)
commitd8e4d38dbbc538d9ed0fbc30cdd8700c24af36ef
tree8560fa496e0580671bc84b6eea31d2dc8bdacddf
parent287eefa4892a303f2cccd1a305ec381dfc932c27
qemu-char: Introduce Memory driver

This driver handles in-memory chardev operations. That's, all writes
to this driver are stored in an internal buffer and it doesn't talk
to the external world in any way.

Right now it's very simple: it supports only writes. But it can be
easily extended to support more operations.

This is going to be used by the monitor's "HMP passthrough via QMP"
feature, which needs to run monitor handlers without a backing
device.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qemu-char.c
qemu-char.h