+static int qemudDomainSetMaxMemory(virDomainPtr dom, unsigned long memory)
{
+return qemudDomainSetMemoryFlags(dom, memory,
+ VIR_DOMAIN_MEM_MAXIMUM |
VIR_DOMAIN_MEM_LIVE);
Hmm. Given the above implementation, this will _always_ fail. Then
On Fri, Apr 08, 2011 at 05:39:36PM -0600, Eric Blake wrote:
On 04/07/2011 11:08 PM, Taku Izumi wrote:
This patch implements the code to support virDomainSetMaxMemory API,
and to support VIR_DOMAIN_MEM_MAXIMUM flag in qemudDomainSetMemoryFlags
function.
As a result, we can change the
This patch implements the code to support virDomainSetMaxMemory API,
and to support VIR_DOMAIN_MEM_MAXIMUM flag in qemudDomainSetMemoryFlags
function.
As a result, we can change the maximum memory size of inactive QEMU guests.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---