[Bug 832507] Re: console.log grows indefinitely
Anthony Liguori
anthony at codemonkey.ws
Fri Jun 15 12:46:55 UTC 2012
I don't understand what the file argument would mean. Once you write()
to a file, QEMU no longer can implement a ring buffer (it cannot discard
written data). You would need to do something like the following:
qemu -chardev memchr,max-capacity=640k,id=foo -serial chardev:foo
And then introduce QMP commands like:
{ 'command': 'memchr-read', 'arguments': { 'chardev': 'str', 'size':
'int' }, 'returns': 'str' }
We already have a memory character device that we don't expose
externally yet. It's just a matter of implementing a ring queue
behavior and plumbing things up. I think it's entirely reasonable and
perhaps would even be something that libvirt would prefer to use in the
long term over ptys.
Would also be good for unit testing.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/832507
Title:
console.log grows indefinitely
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/832507/+subscriptions
More information about the Ubuntu-server-bugs
mailing list