mirror of https://gitee.com/openkylin/libvirt.git
qemu: Revert "qemuExtDevicesStart: pass logManager"
This reverts commit b164eac5e1
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
7add201508
commit
f1818032f5
|
@ -166,7 +166,6 @@ qemuExtDevicesCleanupHost(virQEMUDriver *driver,
|
|||
int
|
||||
qemuExtDevicesStart(virQEMUDriver *driver,
|
||||
virDomainObj *vm,
|
||||
virLogManager *logManager G_GNUC_UNUSED,
|
||||
bool incomingMigration)
|
||||
{
|
||||
virDomainDef *def = vm->def;
|
||||
|
|
|
@ -46,7 +46,6 @@ void qemuExtDevicesCleanupHost(virQEMUDriver *driver,
|
|||
|
||||
int qemuExtDevicesStart(virQEMUDriver *driver,
|
||||
virDomainObj *vm,
|
||||
virLogManager *logManager,
|
||||
bool incomingMigration)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
|
||||
G_GNUC_WARN_UNUSED_RESULT;
|
||||
|
|
|
@ -7259,9 +7259,7 @@ qemuProcessLaunch(virConnectPtr conn,
|
|||
if (qemuProcessGenID(vm, flags) < 0)
|
||||
goto cleanup;
|
||||
|
||||
if (qemuExtDevicesStart(driver, vm,
|
||||
qemuDomainLogContextGetManager(logCtxt),
|
||||
incoming != NULL) < 0)
|
||||
if (qemuExtDevicesStart(driver, vm, incoming != NULL) < 0)
|
||||
goto cleanup;
|
||||
|
||||
VIR_DEBUG("Building emulator command line");
|
||||
|
|
Loading…
Reference in New Issue