[libvirt] no check of freeMem before restoring a VM in libxl-driver, is it a bug?
Jim Fehlig
jfehlig at suse.com
Tue May 15 05:22:47 UTC 2012
Oscar Ben wrote:
> in func 'libxlDomainRestoreFlags',it doesn't use 'libxlFreeMem' to
> check whether there are enough memory before restoring the vm!It just
> restore the vm anyway,until xenlight found no enough space in the
> middle of the process Is this a bug?or It's designed this way by purpose?
libxlDomainRestoreFlags doesn't call libxlFreeMem directly, but it does
call libxlVmStart, which afaics calls libxlFreeMem when restoring.
Have you seen restore fail without a helpful error when there is
insufficient memory to host the domain?
Regards,
Jim
More information about the libvir-list
mailing list