From: Peter Krempa Date: Fri, 3 Aug 2012 09:45:12 +0000 (+0200) Subject: remote: Fill snapshot argument in remoteDomainSnapshotListAllChildren X-Git-Tag: v0.10.0-rc1~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b01761d5e9addaefe33b2934576836836f486e2;p=thirdparty%2Flibvirt.git 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. --- diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index b9e2127e9c..afd367bea6 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -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,