>Does KVM allow something like "memory hotplug" for its guests?

It does not support.

>
>
>For example, lets says you are running several guests, and would like
to
>start yet another one for a while - but have no free memory left.
>

We have another solution for it that will soon be pushed into the
kernel:
It is the balloon driver solution.
Each guest runs a balloon driver, when the host needs to free up memory
a daemon with certain policy asks some of the guests to inflate their
balloon,
KVM frees their ballooned pages and the host free memory increases.
When the memory pressure relives, the balloons get deflate command.


>
>Obviously, your guests are so important that you don't want to stop
them
>- so you simply "hotplug remove" memory from a guest that has a lot of
>free memory left - and start a new guest.
>
>When that new guest is no longer needed, and is stopped, you can
>"hotplug add" memory to the guest it was previously removed from.
>
>Guest's kernel would of course need to support memory hotplugging, too.
>
>
>Is it possible with KVM? If not, is such a feature planned?
>
>I noticed it was only mentioned once or twice on the list:
>
>http://article.gmane.org/gmane.comp.emulators.kvm.devel/712/
>
>"Well, the _interface_ supports removing, the implementation does not
:)
>
>Everything was written in mind to allow memory hotplug."
>
>
>
>--
>Tomasz Chmielewski
>http://wpkg.org
>
>-----------------------------------------------------------------------
--
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share
>your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
EV
>_______________________________________________
>kvm-devel mailing list
>kvm-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to