mirror of https://gitee.com/openkylin/libvirt.git
qemuMigrationSrcBeginResumePhase: Remove unused 'driver' argument
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
8187c0ed94
commit
38607ea891
|
@ -2733,7 +2733,6 @@ qemuMigrationSrcBeginResume(virDomainObj *vm,
|
|||
|
||||
static char *
|
||||
qemuMigrationSrcBeginResumePhase(virConnectPtr conn,
|
||||
virQEMUDriver *driver G_GNUC_UNUSED,
|
||||
virDomainObj *vm,
|
||||
const char *xmlin,
|
||||
char **cookieout,
|
||||
|
@ -2792,7 +2791,7 @@ qemuMigrationSrcBegin(virConnectPtr conn,
|
|||
}
|
||||
|
||||
if (flags & VIR_MIGRATE_POSTCOPY_RESUME) {
|
||||
ret = qemuMigrationSrcBeginResumePhase(conn, driver, vm, xmlin,
|
||||
ret = qemuMigrationSrcBeginResumePhase(conn, vm, xmlin,
|
||||
cookieout, cookieoutlen, flags);
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue