]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: Build the 'pflash' drives via -machine
authorPeter Krempa <pkrempa@redhat.com>
Fri, 15 Nov 2019 12:36:53 +0000 (13:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 22 Nov 2019 07:32:25 +0000 (08:32 +0100)
commitc8eb99eebf5801a56d381d9e13192f9b77693363
tree2f8b4ec9ff8fb2145fffbc2fdf51b0ba944fcbf2
parent7d2f942af91f244c501b337b5536c3292f31ca2a
qemu: command: Build the 'pflash' drives via -machine

The old way to instantiate a pflash device via -drive was a hack since
it's a platform device.

The modern approach calls for configuring it via -machine and takes the
node name as an argument.

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