mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 14:35:18 +00:00
vbox: Swap vboxSnapshotGetReadOnlyDisks arguments
So that the function signature matches vboxSnapshotGetReadWriteDisks
This commit is contained in:
parent
03a24da4c4
commit
32a944115b
@ -5889,8 +5889,8 @@ vboxSnapshotGetReadWriteDisks(virDomainSnapshotDefPtr def,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
vboxSnapshotGetReadOnlyDisks(virDomainSnapshotPtr snapshot,
|
vboxSnapshotGetReadOnlyDisks(virDomainSnapshotDefPtr def,
|
||||||
virDomainSnapshotDefPtr def)
|
virDomainSnapshotPtr snapshot)
|
||||||
{
|
{
|
||||||
virDomainPtr dom = snapshot->domain;
|
virDomainPtr dom = snapshot->domain;
|
||||||
vboxDriverPtr data = dom->conn->privateData;
|
vboxDriverPtr data = dom->conn->privateData;
|
||||||
@ -6173,7 +6173,7 @@ static char *vboxDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot,
|
|||||||
if (vboxSnapshotGetReadWriteDisks(def, snapshot) < 0)
|
if (vboxSnapshotGetReadWriteDisks(def, snapshot) < 0)
|
||||||
VIR_DEBUG("Could not get read write disks for snapshot");
|
VIR_DEBUG("Could not get read write disks for snapshot");
|
||||||
|
|
||||||
if (vboxSnapshotGetReadOnlyDisks(snapshot, def) < 0)
|
if (vboxSnapshotGetReadOnlyDisks(def, snapshot) < 0)
|
||||||
VIR_DEBUG("Could not get Readonly disks for snapshot");
|
VIR_DEBUG("Could not get Readonly disks for snapshot");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user