]> git.proxmox.com Git - qemu.git/commit - qemu-char.c
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)
commit999bd67c879cbd8bf0fe2b4ff0fb308a9a48ec72
tree8560fa496e0580671bc84b6eea31d2dc8bdacddf
parent4cdbc094ca3865696c1456f1586818766bf9aae6
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