提交 1576c126 编写于 作者: P Pavel Hrdina

conf: rename and move virStoragePoolSourceInitiatorAttr

This structure will be reused by domain disk images as well.
Reviewed-by: NJán Tomko <jtomko@redhat.com>
Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
上级 60360e32
......@@ -140,11 +140,6 @@ struct _virStoragePoolSourceDeviceExtent {
int type; /* virStorageFreeType */
};
typedef struct _virStoragePoolSourceInitiatorAttr virStoragePoolSourceInitiatorAttr;
struct _virStoragePoolSourceInitiatorAttr {
char *iqn; /* Initiator IQN */
};
/*
* Pools can be backed by one or more devices, and some
* allow us to track free space on underlying devices.
......@@ -189,7 +184,7 @@ struct _virStoragePoolSource {
char *name;
/* Initiator IQN */
virStoragePoolSourceInitiatorAttr initiator;
virStorageSourceInitiatorDef initiator;
/* Authentication information */
virStorageAuthDefPtr auth;
......
......@@ -226,6 +226,12 @@ struct _virStoragePRDef {
char *mgralias;
};
typedef struct _virStorageSourceInitiatorDef virStorageSourceInitiatorDef;
typedef virStorageSourceInitiatorDef *virStorageSourceInitiatorDefPtr;
struct _virStorageSourceInitiatorDef {
char *iqn; /* Initiator IQN */
};
typedef struct _virStorageDriverData virStorageDriverData;
typedef virStorageDriverData *virStorageDriverDataPtr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册