[libvirt] [RFC PATCH 03/12] qemu: Implement setup of memory hotplug parameters

Daniel P. Berrange berrange at redhat.com
Mon Feb 9 10:20:25 UTC 2015


On Fri, Jan 30, 2015 at 02:21:00PM +0100, Peter Krempa wrote:
> To enable memory hotplug the maximum memory size and slot count need to
> be specified. As qemu supports now other units than mebibytes when
> specifying memory, use the new interface in this case.
> ---
>  docs/formatdomain.html.in                          |  2 +-
>  src/qemu/qemu_command.c                            | 41 ++++++++++++++++++----
>  src/qemu/qemu_domain.c                             |  4 ---
>  .../qemuxml2argv-memory-hotplug-nonuma.xml         | 22 ++++++++++++
>  .../qemuxml2argv-memory-hotplug.args               |  6 ++++
>  .../qemuxml2argv-memory-hotplug.xml                | 34 ++++++++++++++++++
>  tests/qemuxml2argvtest.c                           |  4 +++
>  tests/qemuxml2xmltest.c                            |  3 ++
>  8 files changed, 105 insertions(+), 11 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug-nonuma.xml
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug.xml

ACK


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




More information about the libvir-list mailing list