mirror of https://gitee.com/openkylin/libvirt.git
virDomainSnapshotDiskDef: Remove 'idx' field
It's no longer needed and is valid only after virDomainSnapshotAlignDisks is called while holding the lock. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
d3c029bb10
commit
bd7601282c
|
@ -63,7 +63,6 @@ typedef struct _virDomainSnapshotDiskDef virDomainSnapshotDiskDef;
|
|||
typedef virDomainSnapshotDiskDef *virDomainSnapshotDiskDefPtr;
|
||||
struct _virDomainSnapshotDiskDef {
|
||||
char *name; /* name matching the <target dev='...' of the domain */
|
||||
int idx; /* index within snapshot->dom->disks that matches name */
|
||||
int snapshot; /* virDomainSnapshotLocation */
|
||||
|
||||
/* details of wrapper external file. src is always non-NULL.
|
||||
|
|
Loading…
Reference in New Issue