]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: Extract formatting of floppy related stuff into a helper
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Feb 2018 11:23:50 +0000 (12:23 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 12 Feb 2018 09:03:29 +0000 (10:03 +0100)
commit42fd5a58adb039a8ee4bcd64b98b0f7beb36ae7d
tree795a84ec7bc17007b4b4e8959e24ac0b470eb204
parent60a95e524203f70cf49973d6d2fb09807ccb6bb9
qemu: command: Extract formatting of floppy related stuff into a helper

The floppy command formatting is special-cased since it does not
directly translate to a single '-device' argument.

Move the code from qemuBuildDiskDriveCommandLine to a new helper
function so that all the related code is together.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c