]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Separate wrapping of disk backend props to 'file' object
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Oct 2017 06:23:12 +0000 (08:23 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 18 Oct 2017 07:43:49 +0000 (09:43 +0200)
commit5e24a36e0db2ca24ead536e4313813651d3f9cfc
tree2738c4100204b03b28ebe39940ba4038302dd03c
parent7702cc1f80136cfc29f69685f2ec9499e5b674e4
qemu: command: Separate wrapping of disk backend props to 'file' object

The file object is needed when formatting the command line, but it makes
nesting of the objects less easy for use with blockdev. Separate the
wrapping into the 'file' object into a helper used specifically for disk
sources in the old code path.
src/qemu/qemu_block.c
src/qemu/qemu_command.c