qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [CFR 1/10] qmp: balloon command


From: Anthony Liguori
Subject: Re: [Qemu-devel] [CFR 1/10] qmp: balloon command
Date: Tue, 15 Jun 2010 11:42:58 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

On 06/15/2010 11:30 AM, Anthony Liguori wrote:
balloon
-------

Request VM to change its memory allocation (in bytes).

We ought to clarify a few points:

1) What happens if there isn't a balloon device?
2) What happens upon reboot?
3) What is the valid range for value?
4) How does a user determine when the guest has actually responded to the balloon request?

This is a case where I think we ought to use async events because the guest can adjust it's balloon allotment without an explicit request from the host. In fact, if we add a shrinker callback to the balloon driver (and we should) it will do exactly this.

Regards,

Anthony Liguori

Arguments:

- "value": New memory allocation (json-int)

Example:

->  { "execute": "balloon", "arguments": { "value": 536870912 } }
<- { "return": {} }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]