Re: [PATCH] virt drivers: show used memory as 0 when domain is inactive

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

 



On Fri, Aug 07, 2015 at 02:08:47PM -0600, Jim Fehlig wrote:
> Commit 1ce7c1d2 changed domainGetInfo to set virDomainInfoPtr->memory
> to 0 when domain is inactive, but only did this for the LXC and QEMU
> drivers. Make a similar change to the other virt drivers so they all
> behave the same.

I'm not really convinced that this is right in general. I think that
when a guest is shutoff, we should just report the balloon level as
the same as the max memory level. Changing it to report 0 is quite a
significant semantic change in our APIs too. IOW, I think we should
revert that change you quote.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]