mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
vz: fixes: snapshot: Switch type of virDomainSnapshotObj.def
Fix for commit 1ab05da22 refactoring snapshot code. Reviewed-by: Cole Robinson <crobinso@redhat.com> ACKed-by: Maxim Nestratov <mnestratov@virtuozzo.com> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
This commit is contained in:
parent
be2bff3d0a
commit
17b9149b33
@ -2265,7 +2265,8 @@ vzDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot, unsigned int flags)
|
||||
|
||||
virUUIDFormat(snapshot->domain->uuid, uuidstr);
|
||||
|
||||
xml = virDomainSnapshotDefFormat(uuidstr, snap->def, privconn->driver->caps,
|
||||
xml = virDomainSnapshotDefFormat(uuidstr, virDomainSnapshotObjGetDef(snap),
|
||||
privconn->driver->caps,
|
||||
privconn->driver->xmlopt,
|
||||
virDomainSnapshotFormatConvertXMLFlags(flags));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user