[libvirt] [PATCH] Return VIR_ERR_NO_SUPPORT in qemu SetMemory()/SetVcpus() if domain is active.

Daniel Veillard veillard at redhat.com
Wed Jul 2 11:46:31 UTC 2008


On Wed, Jul 02, 2008 at 11:12:38AM +0200, Nikola Ciprich wrote:
> Hi Daniel,
> 
> thanks for reply. Well, it seems that I'm a bit ahead of time here,
> the balloning support didn't even make it to QEMU trunk...
> So there is not big hurry with it :)

  Okay, thanks for the status report :-)

> To answer Your questions:
> >   can you detect its presence at runtime ?
> from a slight look to patches yes, it will be possible using monitor
> "info ballon" command which will print either
> "Ballooning not activated in VM" or "balloon: actual=%d", so I guess
> this should be sufficient.

 sounds right

> >   I doubt anybody would object code adding the feature, the problem
> > is getting the code and something that fail/work reliably depending
> > on the vailability of the driver.
> Seems like this should not be that complex. I'll give ballooning patches
> a try and if it works well, I'll try to prepare some libvirt patches.
> I'll let You know about progress OK?

  Excellent :-) Thanks in advance !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list