[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvir-list
Subject:    Re: [libvirt] Odd implementation of libvirt qemudDomainSetMaxMemory
From:       Cole Robinson <crobinso () redhat ! com>
Date:       2010-02-26 0:45:30
Message-ID: 4B8719AA.4050809 () redhat ! com
[Download RAW message or body]

On 02/25/2010 06:15 PM, Chris Lalancette wrote:
> Hey Cole,
>      In commit 09a33fd8a9cc85e5e1064168472bff7aecff15fb, you made it so that
> qemudDomainSetMaxMemory() was hotplug only.  However, with the changes you
> pushed, this function no longer makes a lot of sense.  It looks up the domain,
> checks to make sure it is active, and then if it is active, it fails.  Assuming
> that qemu doesn't support changing the maximum amount of memory on the fly,
> wouldn't it be better to just remove this function entirely and let the higher
> libvirt layers report "function not supported"?
> 

Yeah, just dropping it altogether is probably the way to go.

Thanks,
Cole

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic