mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
qemuExtDevicesStart: pass logManager
Pass logManager to qemuExtDevicesStart for future usage. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Tested-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
3913abd476
commit
b164eac5e1
@ -153,6 +153,7 @@ qemuExtDevicesCleanupHost(virQEMUDriverPtr driver,
|
||||
int
|
||||
qemuExtDevicesStart(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virLogManagerPtr logManager G_GNUC_UNUSED,
|
||||
bool incomingMigration)
|
||||
{
|
||||
virDomainDefPtr def = vm->def;
|
||||
|
@ -46,6 +46,7 @@ void qemuExtDevicesCleanupHost(virQEMUDriverPtr driver,
|
||||
|
||||
int qemuExtDevicesStart(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virLogManagerPtr logManager,
|
||||
bool incomingMigration)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
|
||||
G_GNUC_WARN_UNUSED_RESULT;
|
||||
|
@ -6735,7 +6735,9 @@ qemuProcessLaunch(virConnectPtr conn,
|
||||
if (qemuProcessGenID(vm, flags) < 0)
|
||||
goto cleanup;
|
||||
|
||||
if (qemuExtDevicesStart(driver, vm, incoming != NULL) < 0)
|
||||
if (qemuExtDevicesStart(driver, vm,
|
||||
qemuDomainLogContextGetManager(logCtxt),
|
||||
incoming != NULL) < 0)
|
||||
goto cleanup;
|
||||
|
||||
VIR_DEBUG("Building emulator command line");
|
||||
|
Loading…
x
Reference in New Issue
Block a user