Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
34cd4f90
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看板
提交
34cd4f90
编写于
12月 17, 2008
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove trailing semi-colons causing empty statement warnings (John Levon)
上级
7e58aaa7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
26 addition
and
19 deletion
+26
-19
ChangeLog
ChangeLog
+7
-0
src/domain_conf.c
src/domain_conf.c
+1
-1
src/node_device_conf.c
src/node_device_conf.c
+2
-2
src/node_device_conf.h
src/node_device_conf.h
+2
-2
src/storage_conf.c
src/storage_conf.c
+7
-7
src/storage_conf.h
src/storage_conf.h
+7
-7
未找到文件。
ChangeLog
浏览文件 @
34cd4f90
Wed Dec 17 20:53:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* domain_conf.c, node_device_conf.c, node_device_conf.h,
storage_conf.c, storage_conf.h: Remove trailing semi-colon
causing empty statement compile warnings on solaris (John
Levon).
Wed Dec 17 18:10:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
Wed Dec 17 18:10:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
Anonymous union fixes for non-GCC compilers (John Levon)
Anonymous union fixes for non-GCC compilers (John Levon)
...
...
src/domain_conf.c
浏览文件 @
34cd4f90
...
@@ -119,7 +119,7 @@ VIR_ENUM_IMPL(virDomainChr, VIR_DOMAIN_CHR_TYPE_LAST,
...
@@ -119,7 +119,7 @@ VIR_ENUM_IMPL(virDomainChr, VIR_DOMAIN_CHR_TYPE_LAST,
VIR_ENUM_IMPL
(
virDomainSoundModel
,
VIR_DOMAIN_SOUND_MODEL_LAST
,
VIR_ENUM_IMPL
(
virDomainSoundModel
,
VIR_DOMAIN_SOUND_MODEL_LAST
,
"sb16"
,
"sb16"
,
"es1370"
,
"es1370"
,
"pcspk"
)
;
"pcspk"
)
VIR_ENUM_IMPL
(
virDomainInput
,
VIR_DOMAIN_INPUT_TYPE_LAST
,
VIR_ENUM_IMPL
(
virDomainInput
,
VIR_DOMAIN_INPUT_TYPE_LAST
,
"mouse"
,
"mouse"
,
...
...
src/node_device_conf.c
浏览文件 @
34cd4f90
...
@@ -45,11 +45,11 @@ VIR_ENUM_IMPL(virNodeDevCap, VIR_NODE_DEV_CAP_LAST,
...
@@ -45,11 +45,11 @@ VIR_ENUM_IMPL(virNodeDevCap, VIR_NODE_DEV_CAP_LAST,
"net"
,
"net"
,
"scsi_host"
,
"scsi_host"
,
"scsi"
,
"scsi"
,
"storage"
)
;
"storage"
)
VIR_ENUM_IMPL
(
virNodeDevNetCap
,
VIR_NODE_DEV_CAP_NET_LAST
,
VIR_ENUM_IMPL
(
virNodeDevNetCap
,
VIR_NODE_DEV_CAP_NET_LAST
,
"80203"
,
"80203"
,
"80211"
)
;
"80211"
)
#define virNodeDeviceLog(msg...) fprintf(stderr, msg)
#define virNodeDeviceLog(msg...) fprintf(stderr, msg)
...
...
src/node_device_conf.h
浏览文件 @
34cd4f90
...
@@ -47,8 +47,8 @@ enum virNodeDevNetCapType {
...
@@ -47,8 +47,8 @@ enum virNodeDevNetCapType {
VIR_NODE_DEV_CAP_NET_LAST
VIR_NODE_DEV_CAP_NET_LAST
};
};
VIR_ENUM_DECL
(
virNodeDevCap
)
;
VIR_ENUM_DECL
(
virNodeDevCap
)
VIR_ENUM_DECL
(
virNodeDevNetCap
)
;
VIR_ENUM_DECL
(
virNodeDevNetCap
)
enum
virNodeDevStorageCapFlags
{
enum
virNodeDevStorageCapFlags
{
VIR_NODE_DEV_CAP_STORAGE_REMOVABLE
=
(
1
<<
0
),
VIR_NODE_DEV_CAP_STORAGE_REMOVABLE
=
(
1
<<
0
),
...
...
src/storage_conf.c
浏览文件 @
34cd4f90
...
@@ -54,26 +54,26 @@ VIR_ENUM_IMPL(virStoragePool,
...
@@ -54,26 +54,26 @@ VIR_ENUM_IMPL(virStoragePool,
VIR_STORAGE_POOL_LAST
,
VIR_STORAGE_POOL_LAST
,
"dir"
,
"fs"
,
"netfs"
,
"dir"
,
"fs"
,
"netfs"
,
"logical"
,
"disk"
,
"iscsi"
,
"logical"
,
"disk"
,
"iscsi"
,
"scsi"
)
;
"scsi"
)
VIR_ENUM_IMPL
(
virStoragePoolFormatFileSystem
,
VIR_ENUM_IMPL
(
virStoragePoolFormatFileSystem
,
VIR_STORAGE_POOL_FS_LAST
,
VIR_STORAGE_POOL_FS_LAST
,
"auto"
,
"ext2"
,
"ext3"
,
"auto"
,
"ext2"
,
"ext3"
,
"ext4"
,
"ufs"
,
"iso9660"
,
"udf"
,
"ext4"
,
"ufs"
,
"iso9660"
,
"udf"
,
"gfs"
,
"gfs2"
,
"vfat"
,
"hfs+"
,
"xfs"
)
;
"gfs"
,
"gfs2"
,
"vfat"
,
"hfs+"
,
"xfs"
)
VIR_ENUM_IMPL
(
virStoragePoolFormatFileSystemNet
,
VIR_ENUM_IMPL
(
virStoragePoolFormatFileSystemNet
,
VIR_STORAGE_POOL_NETFS_LAST
,
VIR_STORAGE_POOL_NETFS_LAST
,
"auto"
,
"nfs"
)
;
"auto"
,
"nfs"
)
VIR_ENUM_IMPL
(
virStoragePoolFormatDisk
,
VIR_ENUM_IMPL
(
virStoragePoolFormatDisk
,
VIR_STORAGE_POOL_DISK_LAST
,
VIR_STORAGE_POOL_DISK_LAST
,
"unknown"
,
"dos"
,
"dvh"
,
"gpt"
,
"unknown"
,
"dos"
,
"dvh"
,
"gpt"
,
"mac"
,
"bsd"
,
"pc98"
,
"sun"
,
"lvm2"
)
;
"mac"
,
"bsd"
,
"pc98"
,
"sun"
,
"lvm2"
)
VIR_ENUM_IMPL
(
virStoragePoolFormatLogical
,
VIR_ENUM_IMPL
(
virStoragePoolFormatLogical
,
VIR_STORAGE_POOL_LOGICAL_LAST
,
VIR_STORAGE_POOL_LOGICAL_LAST
,
"unknown"
,
"lvm2"
)
;
"unknown"
,
"lvm2"
)
VIR_ENUM_IMPL
(
virStorageVolFormatDisk
,
VIR_ENUM_IMPL
(
virStorageVolFormatDisk
,
...
@@ -81,13 +81,13 @@ VIR_ENUM_IMPL(virStorageVolFormatDisk,
...
@@ -81,13 +81,13 @@ VIR_ENUM_IMPL(virStorageVolFormatDisk,
"none"
,
"linux"
,
"fat16"
,
"none"
,
"linux"
,
"fat16"
,
"fat32"
,
"linux-swap"
,
"fat32"
,
"linux-swap"
,
"linux-lvm"
,
"linux-raid"
,
"linux-lvm"
,
"linux-raid"
,
"extended"
)
;
"extended"
)
VIR_ENUM_IMPL
(
virStorageVolFormatFileSystem
,
VIR_ENUM_IMPL
(
virStorageVolFormatFileSystem
,
VIR_STORAGE_VOL_FILE_LAST
,
VIR_STORAGE_VOL_FILE_LAST
,
"raw"
,
"dir"
,
"bochs"
,
"raw"
,
"dir"
,
"bochs"
,
"cloop"
,
"cow"
,
"dmg"
,
"iso"
,
"cloop"
,
"cow"
,
"dmg"
,
"iso"
,
"qcow"
,
"qcow2"
,
"vmdk"
,
"vpc"
)
;
"qcow"
,
"qcow2"
,
"vmdk"
,
"vpc"
)
typedef
const
char
*
(
*
virStorageVolFormatToString
)(
int
format
);
typedef
const
char
*
(
*
virStorageVolFormatToString
)(
int
format
);
...
...
src/storage_conf.h
浏览文件 @
34cd4f90
...
@@ -113,7 +113,7 @@ enum virStoragePoolType {
...
@@ -113,7 +113,7 @@ enum virStoragePoolType {
VIR_STORAGE_POOL_LAST
,
VIR_STORAGE_POOL_LAST
,
};
};
VIR_ENUM_DECL
(
virStoragePool
)
;
VIR_ENUM_DECL
(
virStoragePool
)
enum
virStoragePoolAuthType
{
enum
virStoragePoolAuthType
{
...
@@ -349,14 +349,14 @@ enum virStoragePoolFormatFileSystem {
...
@@ -349,14 +349,14 @@ enum virStoragePoolFormatFileSystem {
VIR_STORAGE_POOL_FS_XFS
,
VIR_STORAGE_POOL_FS_XFS
,
VIR_STORAGE_POOL_FS_LAST
,
VIR_STORAGE_POOL_FS_LAST
,
};
};
VIR_ENUM_DECL
(
virStoragePoolFormatFileSystem
)
;
VIR_ENUM_DECL
(
virStoragePoolFormatFileSystem
)
enum
virStoragePoolFormatFileSystemNet
{
enum
virStoragePoolFormatFileSystemNet
{
VIR_STORAGE_POOL_NETFS_AUTO
=
0
,
VIR_STORAGE_POOL_NETFS_AUTO
=
0
,
VIR_STORAGE_POOL_NETFS_NFS
,
VIR_STORAGE_POOL_NETFS_NFS
,
VIR_STORAGE_POOL_NETFS_LAST
,
VIR_STORAGE_POOL_NETFS_LAST
,
};
};
VIR_ENUM_DECL
(
virStoragePoolFormatFileSystemNet
)
;
VIR_ENUM_DECL
(
virStoragePoolFormatFileSystemNet
)
enum
virStoragePoolFormatDisk
{
enum
virStoragePoolFormatDisk
{
VIR_STORAGE_POOL_DISK_UNKNOWN
=
0
,
VIR_STORAGE_POOL_DISK_UNKNOWN
=
0
,
...
@@ -371,14 +371,14 @@ enum virStoragePoolFormatDisk {
...
@@ -371,14 +371,14 @@ enum virStoragePoolFormatDisk {
VIR_STORAGE_POOL_DISK_LAST
,
VIR_STORAGE_POOL_DISK_LAST
,
};
};
VIR_ENUM_DECL
(
virStoragePoolFormatDisk
)
;
VIR_ENUM_DECL
(
virStoragePoolFormatDisk
)
enum
virStoragePoolFormatLogical
{
enum
virStoragePoolFormatLogical
{
VIR_STORAGE_POOL_LOGICAL_UNKNOWN
=
0
,
VIR_STORAGE_POOL_LOGICAL_UNKNOWN
=
0
,
VIR_STORAGE_POOL_LOGICAL_LVM2
=
1
,
VIR_STORAGE_POOL_LOGICAL_LVM2
=
1
,
VIR_STORAGE_POOL_LOGICAL_LAST
,
VIR_STORAGE_POOL_LOGICAL_LAST
,
};
};
VIR_ENUM_DECL
(
virStoragePoolFormatLogical
)
;
VIR_ENUM_DECL
(
virStoragePoolFormatLogical
)
enum
virStorageVolFormatFileSystem
{
enum
virStorageVolFormatFileSystem
{
...
@@ -395,7 +395,7 @@ enum virStorageVolFormatFileSystem {
...
@@ -395,7 +395,7 @@ enum virStorageVolFormatFileSystem {
VIR_STORAGE_VOL_FILE_VPC
,
VIR_STORAGE_VOL_FILE_VPC
,
VIR_STORAGE_VOL_FILE_LAST
,
VIR_STORAGE_VOL_FILE_LAST
,
};
};
VIR_ENUM_DECL
(
virStorageVolFormatFileSystem
)
;
VIR_ENUM_DECL
(
virStorageVolFormatFileSystem
)
/*
/*
* XXX these are basically partition types.
* XXX these are basically partition types.
...
@@ -417,7 +417,7 @@ enum virStorageVolFormatDisk {
...
@@ -417,7 +417,7 @@ enum virStorageVolFormatDisk {
VIR_STORAGE_VOL_DISK_EXTENDED
,
VIR_STORAGE_VOL_DISK_EXTENDED
,
VIR_STORAGE_VOL_DISK_LAST
,
VIR_STORAGE_VOL_DISK_LAST
,
};
};
VIR_ENUM_DECL
(
virStorageVolFormatDisk
)
;
VIR_ENUM_DECL
(
virStorageVolFormatDisk
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录