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:
Peter Krempa 2012-08-03 11:45:12 +02:00
parent ed1e711b99
commit 2b01761d5e

View File

@ -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,