[libvirt] [PATCH] remote: Fill snapshot argument in remoteDomainSnapshotListAllChildren
Michal Privoznik
mprivozn at redhat.com
Fri Aug 3 09:59:45 UTC 2012
On 03.08.2012 11:57, Peter Krempa wrote:
> 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.
> ---
> src/remote/remote_driver.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
> index b9e2127..afd367b 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,
>
ACK
Michal
More information about the libvir-list
mailing list