Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
76359ee5
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
76359ee5
编写于
5月 16, 2013
作者:
O
Osier Yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
storage_conf: Fix indentions in storage_conf.c
Uses the 4 spaces for indention.
上级
c8a3cf89
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
88 addition
and
88 deletion
+88
-88
src/conf/storage_conf.c
src/conf/storage_conf.c
+88
-88
未找到文件。
src/conf/storage_conf.c
浏览文件 @
76359ee5
...
...
@@ -146,106 +146,106 @@ virStorageVolumeFormatFromString(const char *format)
}
static
virStoragePoolTypeInfo
poolTypeInfo
[]
=
{
{
.
poolType
=
VIR_STORAGE_POOL_LOGICAL
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_NAME
|
VIR_STORAGE_POOL_SOURCE_DEVICE
),
.
defaultFormat
=
VIR_STORAGE_POOL_LOGICAL_LVM2
,
.
formatFromString
=
virStoragePoolFormatLogicalTypeFromString
,
.
formatToString
=
virStoragePoolFormatLogicalTypeToString
,
},
{.
poolType
=
VIR_STORAGE_POOL_LOGICAL
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_NAME
|
VIR_STORAGE_POOL_SOURCE_DEVICE
),
.
defaultFormat
=
VIR_STORAGE_POOL_LOGICAL_LVM2
,
.
formatFromString
=
virStoragePoolFormatLogicalTypeFromString
,
.
formatToString
=
virStoragePoolFormatLogicalTypeToString
,
},
},
{
.
poolType
=
VIR_STORAGE_POOL_DIR
,
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatFromString
=
virStorageVolumeFormatFromString
,
.
formatToString
=
virStorageFileFormatTypeToString
,
},
{.
poolType
=
VIR_STORAGE_POOL_DIR
,
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatFromString
=
virStorageVolumeFormatFromString
,
.
formatToString
=
virStorageFileFormatTypeToString
,
},
},
{
.
poolType
=
VIR_STORAGE_POOL_FS
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_DEVICE
),
.
defaultFormat
=
VIR_STORAGE_POOL_FS_AUTO
,
.
formatFromString
=
virStoragePoolFormatFileSystemTypeFromString
,
.
formatToString
=
virStoragePoolFormatFileSystemTypeToString
,
},
{.
poolType
=
VIR_STORAGE_POOL_FS
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_DEVICE
),
.
defaultFormat
=
VIR_STORAGE_POOL_FS_AUTO
,
.
formatFromString
=
virStoragePoolFormatFileSystemTypeFromString
,
.
formatToString
=
virStoragePoolFormatFileSystemTypeToString
,
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatFromString
=
virStorageVolumeFormatFromString
,
.
formatToString
=
virStorageFileFormatTypeToString
,
},
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatFromString
=
virStorageVolumeFormatFromString
,
.
formatToString
=
virStorageFileFormatTypeToString
,
},
},
{
.
poolType
=
VIR_STORAGE_POOL_NETFS
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_DIR
),
.
defaultFormat
=
VIR_STORAGE_POOL_NETFS_AUTO
,
.
formatFromString
=
virStoragePoolFormatFileSystemNetTypeFromString
,
.
formatToString
=
virStoragePoolFormatFileSystemNetTypeToString
,
},
{.
poolType
=
VIR_STORAGE_POOL_NETFS
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_DIR
),
.
defaultFormat
=
VIR_STORAGE_POOL_NETFS_AUTO
,
.
formatFromString
=
virStoragePoolFormatFileSystemNetTypeFromString
,
.
formatToString
=
virStoragePoolFormatFileSystemNetTypeToString
,
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatFromString
=
virStorageVolumeFormatFromString
,
.
formatToString
=
virStorageFileFormatTypeToString
,
},
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatFromString
=
virStorageVolumeFormatFromString
,
.
formatToString
=
virStorageFileFormatTypeToString
,
},
},
{
.
poolType
=
VIR_STORAGE_POOL_ISCSI
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_DEVICE
|
VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN
),
},
{.
poolType
=
VIR_STORAGE_POOL_ISCSI
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_DEVICE
|
VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN
),
},
.
volOptions
=
{
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
},
{
.
poolType
=
VIR_STORAGE_POOL_SCSI
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_ADAPTER
),
},
.
volOptions
=
{
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
{.
poolType
=
VIR_STORAGE_POOL_SCSI
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_ADAPTER
),
},
.
volOptions
=
{
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
},
{
.
poolType
=
VIR_STORAGE_POOL_RBD
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_NETWORK
|
VIR_STORAGE_POOL_SOURCE_NAME
),
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
{.
poolType
=
VIR_STORAGE_POOL_RBD
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_NETWORK
|
VIR_STORAGE_POOL_SOURCE_NAME
),
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
},
{
.
poolType
=
VIR_STORAGE_POOL_SHEEPDOG
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_NETWORK
|
VIR_STORAGE_POOL_SOURCE_NAME
),
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
{.
poolType
=
VIR_STORAGE_POOL_SHEEPDOG
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_HOST
|
VIR_STORAGE_POOL_SOURCE_NETWORK
|
VIR_STORAGE_POOL_SOURCE_NAME
),
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_FILE_RAW
,
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
},
{
.
poolType
=
VIR_STORAGE_POOL_MPATH
,
.
volOptions
=
{
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
{.
poolType
=
VIR_STORAGE_POOL_MPATH
,
.
volOptions
=
{
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
}
},
{
.
poolType
=
VIR_STORAGE_POOL_DISK
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_DEVICE
),
.
defaultFormat
=
VIR_STORAGE_POOL_DISK_UNKNOWN
,
.
formatFromString
=
virStoragePoolFormatDiskTypeFromString
,
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_VOL_DISK_NONE
,
.
formatFromString
=
virStorageVolFormatDiskTypeFromString
,
.
formatToString
=
virStorageVolFormatDiskTypeToString
,
},
{.
poolType
=
VIR_STORAGE_POOL_DISK
,
.
poolOptions
=
{
.
flags
=
(
VIR_STORAGE_POOL_SOURCE_DEVICE
),
.
defaultFormat
=
VIR_STORAGE_POOL_DISK_UNKNOWN
,
.
formatFromString
=
virStoragePoolFormatDiskTypeFromString
,
.
formatToString
=
virStoragePoolFormatDiskTypeToString
,
},
.
volOptions
=
{
.
defaultFormat
=
VIR_STORAGE_VOL_DISK_NONE
,
.
formatFromString
=
virStorageVolFormatDiskTypeFromString
,
.
formatToString
=
virStorageVolFormatDiskTypeToString
,
},
}
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录