提交 43527af2 编写于 作者: M Michal Privoznik

qemu_process: Call qemuFirmwareFillDomain

When preparing domain call qemuFirmwareFillDomain() to fill in
desired firmware.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 804d2003
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册