Re: [RFC PATCH 00/12] Add support for memory hotplug

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

 



On Fri, Jan 30, 2015 at 02:20:57PM +0100, Peter Krempa wrote:
> !! this series applies on top of the cleanup series posted earlier !!
> 
> Hi,
> this is my try to implement memory hotplug in libvirt (for the qemu) driver.
> This series is almost code-complete but is lacking tests and docs as I wanted
> to agree on design first before attempting to write the documentation.
> 
> Additionally this series is also lacking code that would fix memballoon
> handling but I'm waiting on a clousure how it's supposed to work from qemu's
> side as it appears to be broken there too.
> 
> The basic XML used to add a memory device:
>     <memory model='acpi-dimm'>
>       <target>
>         <size unit='KiB'>524287</size>
>         <node>0</node>
>       </target>
>     </memory>
> 
> The <target> subelement is mandatory, whereas the <source> subelement (that
> contains source numa nodes, source page size ) is optional and is inferred
> from the NUMA tuning for given target numa node.

Our XML sure is getting verbose for complex guests using all features :-)

>From my cursory review, I think the design is basically right. The only
real questions I'll have are around the semantics of existing virDomain*
APIs that report memory information.

> Please note that at least one guest numa node has to be configured for the
> guest for this to work (limitation of qemu).

I think that's a perfectly reasonable requirement.

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]