]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Extract code to setup memory backing objects
authorPeter Krempa <pkrempa@redhat.com>
Fri, 9 Jan 2015 09:34:12 +0000 (10:34 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 31 Jan 2015 07:53:22 +0000 (08:53 +0100)
commitdb3b1c4a1ca455a9d5febd6bf1fb34ebd7546c4a
treee5ed6ead5df01c3f5b15c4d86e50f293a85ff996
parent331b2583ec2928bf9ad5d9ca6f42d1e0c12caf34
qemu: Extract code to setup memory backing objects

Extract the memory backend device code into a separate function so that
it can be later easily refactored and reused.

Few small changes for future reusability, namely:
- new (currently unused) parameter for user specified page size
- size of the memory is specified in kibibytes, divided up in the
function
- new (currently unused) parameter for user specifed source nodeset
- option to enforce capability check
src/qemu/qemu_command.c