]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: Extract formatting of -drive for pflash
authorPeter Krempa <pkrempa@redhat.com>
Fri, 1 Nov 2019 11:14:43 +0000 (12:14 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 22 Nov 2019 07:32:23 +0000 (08:32 +0100)
commit316223b6ad779f53bd6c88348d4c9987ac70a544
treed216d09b64c78dd6cde0101b5b68506c97ecbfe3
parentc78fadb57c634a42d2dbccc86cbada4d5d940282
qemu: command: Extract formatting of -drive for pflash

Extract the old way to instantiate pflash devices to hold the firmware
via -drive to a separate function so that it can later be conditionally
disabled when -blockdev will be used.

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