[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v3 ATCH 0/5] char: expose CirMemCharDriver and pro
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [RFC v3 ATCH 0/5] char: expose CirMemCharDriver and provide QMP interface |
Date: |
Wed, 12 Sep 2012 18:53:53 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
On 09/12/2012 02:57 PM, Lei Li wrote:
> This RFC series attempts to convert the MemCharDriver to use a circular
> buffer for input and output, expose it to users by introducing QMP commands
> memchar_write and memchar_read and via the command line like the other
> CharDriverStates.
>
> Serial ports in qemu always use CharDriverStates as there backends,
> Right now, all of our backends always try to write the data from the
> guest to a socket or file. The concern from OpenStack is that this could
> lead to unbounded disk space usage since they log the serial output.
> For more detail of the background info:
> https://bugs.launchpad.net/nova/+bug/832507
>
> So we want to use a circular buffer in QEMU instead, and then OpenStack
> can periodically read the buffer in QEMU and log it.
Can't they do it themselves? Have qemu write to a pipe, and on the
other side, do whatever rate limiting is needed.
--
error compiling committee.c: too many arguments to function
- Re: [Qemu-devel] [PATCH 1/5] qemu-char: Add new char device CirMemCharDriver, (continued)
- [Qemu-devel] [PATCH 4/5] QAPI: Introduce memchar-read QMP command, Lei Li, 2012/09/12
- [Qemu-devel] [PATCH 5/5] HMP: Introduce console command, Lei Li, 2012/09/12
- [Qemu-devel] [PATCH 3/5] QAPI: Introduce memchar-write QMP command, Lei Li, 2012/09/12
- [Qemu-devel] [PATCH 2/5] Expose CirMemCharDriver via command line, Lei Li, 2012/09/12
- Re: [Qemu-devel] [RFC v3 ATCH 0/5] char: expose CirMemCharDriver and provide QMP interface,
Avi Kivity <=
- Re: [Qemu-devel] [RFC v3 ATCH 0/5] char: expose CirMemCharDriver and provide QMP interface, Daniel P. Berrange, 2012/09/12