[libvirt] [PATCH] qemu: adjust maxmem/maxvcpu computation
Eric Blake
eblake at redhat.com
Thu Feb 20 13:10:53 UTC 2014
On 01/29/2014 12:04 PM, 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.
ping.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140220/303f2145/attachment-0001.sig>
More information about the libvir-list
mailing list