Re: virtio: Add memory statistics reporting to the balloon driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rusty Russell
Date: Wednesday, November 11, 2009 - 7:29 pm

On Thu, 12 Nov 2009 01:38:34 am Adam Litke wrote:

OK, I see you made each one a separate feature bit, which does allow this
somewhat.  But you can't just change the meaning arbitrarily, all you can
do is refuse to supply some of them.  This is because virtio is an ABI,
but also it's plain sanity: run a new guest on an old host and get crazy
answers.

Two more questions:

I assume memtot should be equal to the initial memory granted to the guest
(perhaps reduced if the guest can't use all the memory for internal reasons)?

I'm not sure of the relevance to the host of the number of anonymous pages?
That's why I wondered if unswappable pages would be a better number to supply?

Thanks,
Rusty.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Qemu-devel] Re: virtio: Add memory statistics reporti ..., Daniel P. Berrange, (Wed Nov 11, 3:12 am)
Re: virtio: Add memory statistics reporting to the balloon ..., Rusty Russell, (Wed Nov 11, 7:29 pm)