Re: [PATCH] qemu: adjust maxmem/maxvcpu computation

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

 



On Wed, Jan 29, 2014 at 12:04:32PM -0700, Eric Blake wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1038363
> 
> If a domain has a different maximum for persistent and live maxmem
> or max vcpus, then it is possible to hit cases where libvirt
> refuses to adjust the current values or gets halfway through
> the adjustment before failing.  Better is to determine up front
> if the change is possible for all requested flags.
> 
> * src/qemu/qemu_driver.c (qemuDomainSetMemoryFlags): Compute
> correct maximum if both live and config are being set.
> (qemuDomainSetVcpusFlags): Likewise.
> 
> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
> ---
>  src/qemu/qemu_driver.c | 21 ++++++++++++++++++---
>  1 file changed, 18 insertions(+), 3 deletions(-)

ACK

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]