Re: no check of freeMem before restoring a VM in libxl-driver, is it a bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]