mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
qemu: absorb qemuDomainObjExitMonitorInternal
qemuDomainObjExitMonitor is just an alias for it at this point. This also removes the incomplete ATTRIBUTE_NONNULL(1) annotation. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
f1ea5bd506
commit
9a9a93e2eb
@ -5857,9 +5857,14 @@ qemuDomainObjEnterMonitorInternal(virQEMUDriver *driver,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void ATTRIBUTE_NONNULL(1)
|
||||
qemuDomainObjExitMonitorInternal(virQEMUDriver *driver,
|
||||
virDomainObj *obj)
|
||||
/* obj must NOT be locked before calling
|
||||
*
|
||||
* Should be paired with an earlier qemuDomainObjEnterMonitor() call
|
||||
*
|
||||
*/
|
||||
void
|
||||
qemuDomainObjExitMonitor(virQEMUDriver *driver,
|
||||
virDomainObj *obj)
|
||||
{
|
||||
qemuDomainObjPrivate *priv = obj->privateData;
|
||||
bool hasRefs;
|
||||
@ -5890,16 +5895,6 @@ void qemuDomainObjEnterMonitor(virQEMUDriver *driver,
|
||||
QEMU_ASYNC_JOB_NONE));
|
||||
}
|
||||
|
||||
/* obj must NOT be locked before calling
|
||||
*
|
||||
* Should be paired with an earlier qemuDomainObjEnterMonitor() call
|
||||
*/
|
||||
void qemuDomainObjExitMonitor(virQEMUDriver *driver,
|
||||
virDomainObj *obj)
|
||||
{
|
||||
qemuDomainObjExitMonitorInternal(driver, obj);
|
||||
}
|
||||
|
||||
/*
|
||||
* obj must be locked before calling
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user