On Thu, Mar 07, 2019 at 10:29:22AM +0100, Michal Privoznik wrote: > When preparing domain call qemuFirmwareFillDomain() to fill in > desired firmware. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/qemu/qemu_process.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c > index 68c670d3f2..d878079eab 100644 > --- a/src/qemu/qemu_process.c > +++ b/src/qemu/qemu_process.c > @@ -56,6 +56,7 @@ > #include "qemu_interface.h" > #include "qemu_security.h" > #include "qemu_extdevice.h" > +#include "qemu_firmware.h" > > #include "cpu/cpu.h" > #include "datatypes.h" > @@ -6082,6 +6083,10 @@ qemuProcessPrepareDomain(virQEMUDriverPtr driver, > if (qemuDomainSecretPrepare(driver, vm) < 0) > goto cleanup; > > + VIR_DEBUG("Prepare bios/uefi paths"); > + if (qemuFirmwareFillDomain(driver, vm, flags) < 0) > + goto cleanup; > + > for (i = 0; i < vm->def->nchannels; i++) { > if (qemuDomainPrepareChannel(vm->def->channels[i], > priv->channelTargetDir) < 0) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list