[libvirt] [PATCH] Return VIR_ERR_NO_SUPPORT in qemu SetMemory()/SetVcpus() if domain is active.
Nikola Ciprich
extmaillist at linuxbox.cz
Wed Jul 2 09:12:38 UTC 2008
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 :)
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.
> 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?
> Daniel
regards
nik
--
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava
tel.: +420 596 603 142
fax: +420 596 621 273
mobil: +420 777 093 799
www.linuxbox.cz
mobil servis: +420 737 238 656
email servis: servis at linuxbox.cz
-------------------------------------
More information about the libvir-list
mailing list