On Thu, Nov 1, 2012 at 11:09 AM, Eric Blake <eblake(a)redhat.com> wrote:
On 11/01/2012 07:16 AM, Dusty Mabe wrote:
>
> Does anyone think this functionality would be useful? This is primarily to
> prevent the host from being starved when the allocation of guests have the
> host overcommitted/oversubscribed.
Yes, this functionality would be useful. In fact, I even proposed a
possible design, and Dan chimed in with some improvements (but no one
has coded anything towards that design) ages ago:
https://www.redhat.com/archives/libvir-list/2011-March/msg01546.html
Basically, you would create a virGroupPtr that describes the entire
resources you are willing to allow to VMs, then ensure that all VMs are
members of that virGroupPtr.
Thanks for the response and some pointers to relevant design
information. If I get some free cycles to implement such a feature I
will get back to you with some more targeted design questions or maybe
even a possible implementation.
Dusty