提交 2b01761d 编写于 作者: P Peter Krempa

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.
上级 ed1e711b
...@@ -5015,6 +5015,7 @@ remoteDomainSnapshotListAllChildren(virDomainSnapshotPtr parent, ...@@ -5015,6 +5015,7 @@ remoteDomainSnapshotListAllChildren(virDomainSnapshotPtr parent,
args.need_results = !!snapshots; args.need_results = !!snapshots;
args.flags = flags; args.flags = flags;
make_nonnull_domain_snapshot(&args.snapshot, parent);
memset(&ret, 0, sizeof(ret)); memset(&ret, 0, sizeof(ret));
if (call (parent->domain->conn, if (call (parent->domain->conn,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册