Comment 48 for bug 832507

Lei Li (matrixs-zero) wrote :

Re comment #44:

There has been a ring buffer char device named ringbuf available upstream in QEMU as Anthony suggested in comment #23 like following:

qemu -chardev ringbuf,size=640k,id=foo -serial chardev:foo

And the QMP commands have already been exposed by QEMU like:

{ 'command': 'ringbuf-read', 'arguments': "arguments": { "device": "foo", "size": 1000, "format": "utf8" } }

Actually it was just the implementation of this request: