[PATCH v1 12/15] qemu_process: Call qemuFirmwareFillDomain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
-- 
2.19.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux