]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refactor creation of shared memory device commandline
authorLuyao Huang <lhuang@redhat.com>
Wed, 17 Jun 2015 03:56:14 +0000 (11:56 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 8 Jul 2015 14:30:42 +0000 (16:30 +0200)
commitffe96a15933edf726b66cdace02e2e0db6d41d30
treea8bdd4c9baa31da7e672bfb4db32bb6b83f1865d
parente9401342e1a7ab72bd1ec31c38b2dde728100301
qemu: Refactor creation of shared memory device commandline

Rename qemuBuildShmemDevCmd to qemuBuildShmemDevStr and change the
return type so that it can be reused in the device hotplug code later.

And split the chardev creation part in a new function
qemuBuildShmemBackendStr for reuse in the device hotplug code later.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_command.h