mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
remote: Fill snapshot argument in remoteDomainSnapshotListAllChildren
The remote driver did not fill the required snapshot parent argument in the RPC call structure that caused a client crash when trying to use this new API.
This commit is contained in:
parent
ed1e711b99
commit
2b01761d5e
@ -5015,6 +5015,7 @@ remoteDomainSnapshotListAllChildren(virDomainSnapshotPtr parent,
|
||||
|
||||
args.need_results = !!snapshots;
|
||||
args.flags = flags;
|
||||
make_nonnull_domain_snapshot(&args.snapshot, parent);
|
||||
|
||||
memset(&ret, 0, sizeof(ret));
|
||||
if (call (parent->domain->conn,
|
||||
|
Loading…
Reference in New Issue
Block a user