mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-09 13:57:27 +03:00
qemuProcessAutoDestroy: Use 'driver' from VM private data
Access the 'driver' struct from the private data rather than the passed opaque pointer in preparation to remove the opaque pointer. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
2f072e24db
commit
02fe5fe298
@ -8374,10 +8374,10 @@ void qemuProcessStop(virQEMUDriver *driver,
|
||||
static void
|
||||
qemuProcessAutoDestroy(virDomainObj *dom,
|
||||
virConnectPtr conn,
|
||||
void *opaque)
|
||||
void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
virQEMUDriver *driver = opaque;
|
||||
qemuDomainObjPrivate *priv = dom->privateData;
|
||||
virQEMUDriver *driver = priv->driver;
|
||||
virObjectEvent *event = NULL;
|
||||
unsigned int stopFlags = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user