Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
74d52fe8
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看板
提交
74d52fe8
编写于
6月 20, 2014
作者:
P
Peter Krempa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
util: s/virStorageSourceClearBackingStore/virStorageSourceBackingStoreClear
Rename them to comply with the naming policy.
上级
ee8abfbe
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
7 deletion
+7
-7
src/libvirt_private.syms
src/libvirt_private.syms
+1
-1
src/qemu/qemu_domain.c
src/qemu/qemu_domain.c
+1
-1
src/qemu/qemu_driver.c
src/qemu/qemu_driver.c
+1
-1
src/util/virstoragefile.c
src/util/virstoragefile.c
+3
-3
src/util/virstoragefile.h
src/util/virstoragefile.h
+1
-1
未找到文件。
src/libvirt_private.syms
浏览文件 @
74d52fe8
...
@@ -1904,8 +1904,8 @@ virStorageNetHostTransportTypeFromString;
...
@@ -1904,8 +1904,8 @@ virStorageNetHostTransportTypeFromString;
virStorageNetHostTransportTypeToString;
virStorageNetHostTransportTypeToString;
virStorageNetProtocolTypeToString;
virStorageNetProtocolTypeToString;
virStorageSourceAuthClear;
virStorageSourceAuthClear;
virStorageSourceBackingStoreClear;
virStorageSourceClear;
virStorageSourceClear;
virStorageSourceClearBackingStore;
virStorageSourceFree;
virStorageSourceFree;
virStorageSourceGetActualType;
virStorageSourceGetActualType;
virStorageSourceGetSecurityLabelDef;
virStorageSourceGetSecurityLabelDef;
...
...
src/qemu/qemu_domain.c
浏览文件 @
74d52fe8
...
@@ -2447,7 +2447,7 @@ qemuDomainDetermineDiskChain(virQEMUDriverPtr driver,
...
@@ -2447,7 +2447,7 @@ qemuDomainDetermineDiskChain(virQEMUDriverPtr driver,
if
(
disk
->
src
->
backingStore
)
{
if
(
disk
->
src
->
backingStore
)
{
if
(
force
)
if
(
force
)
virStorageSource
ClearBackingStore
(
disk
->
src
);
virStorageSource
BackingStoreClear
(
disk
->
src
);
else
else
goto
cleanup
;
goto
cleanup
;
}
}
...
...
src/qemu/qemu_driver.c
浏览文件 @
74d52fe8
...
@@ -12877,7 +12877,7 @@ qemuDomainSnapshotCreateSingleDiskActive(virQEMUDriverPtr driver,
...
@@ -12877,7 +12877,7 @@ qemuDomainSnapshotCreateSingleDiskActive(virQEMUDriverPtr driver,
* recompute it. Better would be storing the chain ourselves rather than
* recompute it. Better would be storing the chain ourselves rather than
* reprobing, but this requires modifying domain_conf and our XML to fully
* reprobing, but this requires modifying domain_conf and our XML to fully
* track the chain across libvirtd restarts. */
* track the chain across libvirtd restarts. */
virStorageSource
ClearBackingStore
(disk->src);
virStorageSource
BackingStoreClear
(disk->src);
if (virStorageFileInit(snap->src) < 0)
if (virStorageFileInit(snap->src) < 0)
goto cleanup;
goto cleanup;
...
...
src/util/virstoragefile.c
浏览文件 @
74d52fe8
...
@@ -1551,14 +1551,14 @@ virStorageSourceGetActualType(virStorageSourcePtr def)
...
@@ -1551,14 +1551,14 @@ virStorageSourceGetActualType(virStorageSourcePtr def)
/**
/**
* virStorageSource
ClearBackingStore
:
* virStorageSource
BackingStoreClear
:
*
*
* @src: disk source to clear
* @src: disk source to clear
*
*
* Clears information about backing store of the current storage file.
* Clears information about backing store of the current storage file.
*/
*/
void
void
virStorageSource
ClearBackingStore
(
virStorageSourcePtr
def
)
virStorageSource
BackingStoreClear
(
virStorageSourcePtr
def
)
{
{
if
(
!
def
)
if
(
!
def
)
return
;
return
;
...
@@ -1599,7 +1599,7 @@ virStorageSourceClear(virStorageSourcePtr def)
...
@@ -1599,7 +1599,7 @@ virStorageSourceClear(virStorageSourcePtr def)
virStorageNetHostDefFree
(
def
->
nhosts
,
def
->
hosts
);
virStorageNetHostDefFree
(
def
->
nhosts
,
def
->
hosts
);
virStorageSourceAuthClear
(
def
);
virStorageSourceAuthClear
(
def
);
virStorageSource
ClearBackingStore
(
def
);
virStorageSource
BackingStoreClear
(
def
);
}
}
...
...
src/util/virstoragefile.h
浏览文件 @
74d52fe8
...
@@ -321,7 +321,7 @@ void virStorageSourcePoolDefFree(virStorageSourcePoolDefPtr def);
...
@@ -321,7 +321,7 @@ void virStorageSourcePoolDefFree(virStorageSourcePoolDefPtr def);
void
virStorageSourceClear
(
virStorageSourcePtr
def
);
void
virStorageSourceClear
(
virStorageSourcePtr
def
);
int
virStorageSourceGetActualType
(
virStorageSourcePtr
def
);
int
virStorageSourceGetActualType
(
virStorageSourcePtr
def
);
void
virStorageSourceFree
(
virStorageSourcePtr
def
);
void
virStorageSourceFree
(
virStorageSourcePtr
def
);
void
virStorageSource
ClearBackingStore
(
virStorageSourcePtr
def
);
void
virStorageSource
BackingStoreClear
(
virStorageSourcePtr
def
);
virStorageSourcePtr
virStorageSourceNewFromBacking
(
virStorageSourcePtr
parent
);
virStorageSourcePtr
virStorageSourceNewFromBacking
(
virStorageSourcePtr
parent
);
typedef
int
typedef
int
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录