snapshot: refactor virsh snapshot parent computation
Make parent computation reusable, using virDomainSnapshotGetParent when possible. * tools/virsh.c (vshGetSnapshotParent): New helper. (cmdSnapshotParent): Use it.
Showing
想要评论请 注册 或 登录