]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildFloppyCommandLineControllerOptions: Extract formatting of implicit/explicit fdc
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Oct 2021 17:01:28 +0000 (19:01 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 18:54:53 +0000 (20:54 +0200)
commit245e8a12fdff455a0d04605e2187bfcf1bd10266
tree58ec96f5328afa190976491a0dfbafa0b12f27b2
parent9e359909d59814b30103706a9e004f9ce9befd9b
qemuBuildFloppyCommandLineControllerOptions: Extract formatting of implicit/explicit fdc

qemuBuildFloppyCommandLineControllerOptions was generating config for
both the implicit and explicit fdc. The explicit FDC is using '-device'
and thus will need to be converted to JSON.

Split up the lookup of the floppy drive configs from the actual command
generation.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c