mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
qemu: blockjob: Rename qemuBlockJobEventProcess to qemuBlockJobEventProcessLegacy
This will handle blockjob finalizing for the old approach so rename it accordingly. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
2a1248badd
commit
246303dc5b
@ -82,7 +82,7 @@ qemuBlockJobEmitEvents(virQEMUDriverPtr driver,
|
||||
|
||||
|
||||
/**
|
||||
* qemuBlockJobEventProcess:
|
||||
* qemuBlockJobEventProcessLegacy:
|
||||
* @driver: qemu driver
|
||||
* @vm: domain
|
||||
* @disk: domain disk
|
||||
@ -94,7 +94,7 @@ qemuBlockJobEmitEvents(virQEMUDriverPtr driver,
|
||||
* restart, also update the domain's status XML.
|
||||
*/
|
||||
static void
|
||||
qemuBlockJobEventProcess(virQEMUDriverPtr driver,
|
||||
qemuBlockJobEventProcessLegacy(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainDiskDefPtr disk,
|
||||
int asyncJob,
|
||||
@ -233,7 +233,7 @@ qemuBlockJobUpdateDisk(virDomainObjPtr vm,
|
||||
*error = NULL;
|
||||
|
||||
if (status != -1) {
|
||||
qemuBlockJobEventProcess(priv->driver, vm, disk, asyncJob,
|
||||
qemuBlockJobEventProcessLegacy(priv->driver, vm, disk, asyncJob,
|
||||
job->type, status);
|
||||
job->status = -1;
|
||||
if (error)
|
||||
|
Loading…
Reference in New Issue
Block a user