diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index bc539d5638..1f7862b004 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -2661,13 +2661,6 @@ virDomainObjEndAPI(virDomainObjPtr *vm) } -void -virDomainObjSignal(virDomainObjPtr vm) -{ - virCondSignal(&vm->cond); -} - - void virDomainObjBroadcast(virDomainObjPtr vm) { diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 12d945ea7f..50750c1dfa 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -2443,7 +2443,6 @@ void virDomainObjEndAPI(virDomainObjPtr *vm); bool virDomainObjTaint(virDomainObjPtr obj, virDomainTaintFlags taint); -void virDomainObjSignal(virDomainObjPtr vm); void virDomainObjBroadcast(virDomainObjPtr vm); int virDomainObjWait(virDomainObjPtr vm); int virDomainObjWaitUntil(virDomainObjPtr vm, diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index 1566d11e41..720afdf4dd 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -412,7 +412,6 @@ virDomainObjParseNode; virDomainObjSetDefTransient; virDomainObjSetMetadata; virDomainObjSetState; -virDomainObjSignal; virDomainObjTaint; virDomainObjUpdateModificationImpact; virDomainObjWait; diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index ba84182d47..a688feb9ba 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -1004,7 +1004,7 @@ qemuProcessHandleBlockJob(qemuMonitorPtr mon ATTRIBUTE_UNUSED, /* We have a SYNC API waiting for this event, dispatch it back */ diskPriv->blockJobType = type; diskPriv->blockJobStatus = status; - virDomainObjSignal(vm); + virDomainObjBroadcast(vm); } else { /* there is no waiting SYNC API, dispatch the update to a thread */ if (VIR_ALLOC(processEvent) < 0) @@ -1500,7 +1500,7 @@ qemuProcessHandleSpiceMigrated(qemuMonitorPtr mon ATTRIBUTE_UNUSED, } priv->job.spiceMigrated = true; - virDomainObjSignal(vm); + virDomainObjBroadcast(vm); cleanup: virObjectUnlock(vm);