]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use 'def->os.loader->nvram' directly instead of 'priv->pflash1'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 18 May 2022 13:08:36 +0000 (15:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 14 Jun 2022 12:39:55 +0000 (14:39 +0200)
commit5709b31f35ef55cc82b5cf2c1afcf039837d2af0
treed962d5e4c0ffebb2f5d78b4a67e91efa64f74307
parent911c3cb2f0e7c1cede02c1b8c2c52c7ab5996e9d
qemu: Use 'def->os.loader->nvram' directly instead of 'priv->pflash1'

Since we now have a full virStorageSource for storing the nvram path we
don't need the extra dance of transferring the data into the 'pflash1'
variable which was an intermediary solution to use -blockdev.

For now we keep it functionally identical to the previous impl.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Tested-by: Rohit Kumar <rohit.kumar3@nutanix.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h