]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Make memory alignment helper more universal
authorPeter Krempa <pkrempa@redhat.com>
Fri, 31 Jul 2015 14:00:20 +0000 (16:00 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 22 Sep 2015 14:09:27 +0000 (16:09 +0200)
commit3fb0819830cef3b269fbcdea217d7f1de4b62e87
tree3ef57a00fe3c2390f89981bf9c3e5b1e6fce166b
parent1891cad5420a3a1727177d1c762b23104c9ccc6d
qemu: Make memory alignment helper more universal

Extract the size determination into a separate function and reuse it
across the memory device alignment functions. Since later we will need
to decide the alignment size according to architecture let's pass def to
the functions.
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_hotplug.c