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:
Ján Tomko 2021-10-06 11:48:38 +02:00
parent 7add201508
commit f1818032f5
3 changed files with 1 additions and 5 deletions

View File

@ -166,7 +166,6 @@ qemuExtDevicesCleanupHost(virQEMUDriver *driver,
int
qemuExtDevicesStart(virQEMUDriver *driver,
virDomainObj *vm,
virLogManager *logManager G_GNUC_UNUSED,
bool incomingMigration)
{
virDomainDef *def = vm->def;

View File

@ -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;

View File

@ -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");