]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: Build -blockdev-s for backing of pflash
authorPeter Krempa <pkrempa@redhat.com>
Fri, 15 Nov 2019 13:41:56 +0000 (14:41 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 22 Nov 2019 07:32:25 +0000 (08:32 +0100)
commit7d2f942af91f244c501b337b5536c3292f31ca2a
treee9ea2d3ad39a86aa3e14c450c3c7b9a145af0228
parent11d13ad8cfbdde986338ffe0518b77ffa6be285e
qemu: command: Build  -blockdev-s for backing of pflash

As a first step we will build the blockdevs which will be supposed to
back the pflash drives when moving away from -drive.

This code is similar to the way we build the blockdevs for the disk, but
skips the copy-on-read layer and doesn't implement any legacy approach.

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