Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
2bd4a172
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2bd4a172
编写于
3月 25, 2014
作者:
J
Ján Tomko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Indent top-level labels by one space in src/esx/
上级
dc7238f5
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
55 addition
and
55 deletion
+55
-55
src/esx/esx_driver.c
src/esx/esx_driver.c
+55
-55
未找到文件。
src/esx/esx_driver.c
浏览文件 @
2bd4a172
...
@@ -4163,7 +4163,7 @@ esxDomainIsPersistent(virDomainPtr domain)
...
@@ -4163,7 +4163,7 @@ esxDomainIsPersistent(virDomainPtr domain)
result
=
1
;
result
=
1
;
cleanup:
cleanup:
esxVI_ObjectContent_Free
(
&
virtualMachine
);
esxVI_ObjectContent_Free
(
&
virtualMachine
);
return
result
;
return
result
;
...
@@ -4190,7 +4190,7 @@ esxDomainIsUpdated(virDomainPtr domain ATTRIBUTE_UNUSED)
...
@@ -4190,7 +4190,7 @@ esxDomainIsUpdated(virDomainPtr domain ATTRIBUTE_UNUSED)
result
=
0
;
result
=
0
;
cleanup:
cleanup:
esxVI_ObjectContent_Free
(
&
virtualMachine
);
esxVI_ObjectContent_Free
(
&
virtualMachine
);
return
result
;
return
result
;
...
@@ -4460,7 +4460,7 @@ esxDomainSnapshotNumChildren(virDomainSnapshotPtr snapshot, unsigned int flags)
...
@@ -4460,7 +4460,7 @@ esxDomainSnapshotNumChildren(virDomainSnapshotPtr snapshot, unsigned int flags)
count
=
esxVI_GetNumberOfSnapshotTrees
(
snapshotTree
->
childSnapshotList
,
count
=
esxVI_GetNumberOfSnapshotTrees
(
snapshotTree
->
childSnapshotList
,
recurse
,
leaves
);
recurse
,
leaves
);
cleanup:
cleanup:
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotTreeList
);
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotTreeList
);
return
count
;
return
count
;
...
@@ -4517,7 +4517,7 @@ esxDomainSnapshotListChildrenNames(virDomainSnapshotPtr snapshot,
...
@@ -4517,7 +4517,7 @@ esxDomainSnapshotListChildrenNames(virDomainSnapshotPtr snapshot,
result
=
esxVI_GetSnapshotTreeNames
(
snapshotTree
->
childSnapshotList
,
result
=
esxVI_GetSnapshotTreeNames
(
snapshotTree
->
childSnapshotList
,
names
,
nameslen
,
recurse
,
leaves
);
names
,
nameslen
,
recurse
,
leaves
);
cleanup:
cleanup:
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotTreeList
);
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotTreeList
);
return
result
;
return
result
;
...
@@ -4618,7 +4618,7 @@ esxDomainSnapshotGetParent(virDomainSnapshotPtr snapshot, unsigned int flags)
...
@@ -4618,7 +4618,7 @@ esxDomainSnapshotGetParent(virDomainSnapshotPtr snapshot, unsigned int flags)
parent
=
virGetDomainSnapshot
(
snapshot
->
domain
,
snapshotTreeParent
->
name
);
parent
=
virGetDomainSnapshot
(
snapshot
->
domain
,
snapshotTreeParent
->
name
);
cleanup:
cleanup:
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotList
);
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotList
);
return
parent
;
return
parent
;
...
@@ -4685,7 +4685,7 @@ esxDomainSnapshotIsCurrent(virDomainSnapshotPtr snapshot, unsigned int flags)
...
@@ -4685,7 +4685,7 @@ esxDomainSnapshotIsCurrent(virDomainSnapshotPtr snapshot, unsigned int flags)
ret
=
STREQ
(
snapshot
->
name
,
currentSnapshotTree
->
name
);
ret
=
STREQ
(
snapshot
->
name
,
currentSnapshotTree
->
name
);
cleanup:
cleanup:
esxVI_VirtualMachineSnapshotTree_Free
(
&
currentSnapshotTree
);
esxVI_VirtualMachineSnapshotTree_Free
(
&
currentSnapshotTree
);
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotList
);
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotList
);
return
ret
;
return
ret
;
...
@@ -4717,7 +4717,7 @@ esxDomainSnapshotHasMetadata(virDomainSnapshotPtr snapshot, unsigned int flags)
...
@@ -4717,7 +4717,7 @@ esxDomainSnapshotHasMetadata(virDomainSnapshotPtr snapshot, unsigned int flags)
ret
=
0
;
ret
=
0
;
cleanup:
cleanup:
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotList
);
esxVI_VirtualMachineSnapshotTree_Free
(
&
rootSnapshotList
);
return
ret
;
return
ret
;
}
}
...
@@ -5168,7 +5168,7 @@ esxConnectListAllDomains(virConnectPtr conn,
...
@@ -5168,7 +5168,7 @@ esxConnectListAllDomains(virConnectPtr conn,
doms
=
NULL
;
doms
=
NULL
;
ret
=
count
;
ret
=
count
;
cleanup:
cleanup:
if
(
doms
)
{
if
(
doms
)
{
for
(
id
=
0
;
id
<
count
;
id
++
)
{
for
(
id
=
0
;
id
<
count
;
id
++
)
{
virDomainFree
(
doms
[
id
]);
virDomainFree
(
doms
[
id
]);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录