Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
ff8e0212
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,体验更适合开发者的 AI 搜索 >>
提交
ff8e0212
编写于
12月 01, 2016
作者:
Y
Yuri Chornoivan
提交者:
Ján Tomko
12月 02, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix minor typos
上级
f81b33b5
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
10 addition
and
10 deletion
+10
-10
daemon/stream.c
daemon/stream.c
+1
-1
docs/internals/command.html.in
docs/internals/command.html.in
+1
-1
src/qemu/qemu_domain_address.c
src/qemu/qemu_domain_address.c
+1
-1
src/storage/storage_backend_disk.c
src/storage/storage_backend_disk.c
+2
-2
src/test/test_driver.c
src/test/test_driver.c
+1
-1
src/util/virstring.c
src/util/virstring.c
+1
-1
src/vbox/vbox_tmpl.c
src/vbox/vbox_tmpl.c
+2
-2
tools/virsh-nodedev.c
tools/virsh-nodedev.c
+1
-1
未找到文件。
daemon/stream.c
浏览文件 @
ff8e0212
...
...
@@ -719,7 +719,7 @@ daemonStreamHandleWrite(virNetServerClientPtr client,
* worth of data, and then queues that for transmission
* to the client.
*
* Returns 0 if data was queued for TX, or a error RPC
* Returns 0 if data was queued for TX, or a
n
error RPC
* was sent, or -1 on fatal error, indicating client should
* be killed
*/
...
...
docs/internals/command.html.in
浏览文件 @
ff8e0212
...
...
@@ -122,7 +122,7 @@ virCommandAddArgFormat(cmd, "%d", count);
</pre>
<p>
To add a entire NULL terminated array of arguments in one go,
To add a
n
entire NULL terminated array of arguments in one go,
there are two options.
</p>
...
...
src/qemu/qemu_domain_address.c
浏览文件 @
ff8e0212
...
...
@@ -2320,7 +2320,7 @@ qemuAssignMemoryDeviceSlot(virDomainMemoryDefPtr mem,
if
((
nextslot
=
virBitmapNextClearBit
(
slotmap
,
-
1
))
<
0
)
{
virReportError
(
VIR_ERR_INTERNAL_ERROR
,
"%s"
,
_
(
"failed to find a
emtp
y memory slot"
));
_
(
"failed to find a
n empt
y memory slot"
));
return
-
1
;
}
...
...
src/storage/storage_backend_disk.c
浏览文件 @
ff8e0212
...
...
@@ -653,7 +653,7 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool,
return
-
1
;
}
if
(
vol
->
target
.
format
==
VIR_STORAGE_VOL_DISK_EXTENDED
)
{
/* make sure we don't have a extended partition already */
/* make sure we don't have a
n
extended partition already */
for
(
i
=
0
;
i
<
pool
->
volumes
.
count
;
i
++
)
{
if
(
pool
->
volumes
.
objs
[
i
]
->
source
.
partType
==
VIR_STORAGE_VOL_DISK_TYPE_EXTENDED
)
{
...
...
@@ -675,7 +675,7 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool,
return
-
1
;
break
;
case
VIR_STORAGE_VOL_DISK_TYPE_LOGICAL
:
/* make sure we have a extended partition */
/* make sure we have a
n
extended partition */
for
(
i
=
0
;
i
<
pool
->
volumes
.
count
;
i
++
)
{
if
(
pool
->
volumes
.
objs
[
i
]
->
source
.
partType
==
VIR_STORAGE_VOL_DISK_TYPE_EXTENDED
)
{
...
...
src/test/test_driver.c
浏览文件 @
ff8e0212
...
...
@@ -2057,7 +2057,7 @@ testDomainSaveFlags(virDomainPtr domain, const char *path,
/* Don't report failure in close or unlink, because
* in either case we're already in a failure scenario
* and have reported a earlier error */
* and have reported a
n
earlier error */
if
(
ret
!=
0
)
{
VIR_FORCE_CLOSE
(
fd
);
unlink
(
path
);
...
...
src/util/virstring.c
浏览文件 @
ff8e0212
...
...
@@ -60,7 +60,7 @@ VIR_LOG_INIT("util.string");
*
* As a special case, the result of splitting the empty string "" is an empty
* vector, not a vector containing a single string. The reason for this
* special case is that being able to represent a empty vector is typically
* special case is that being able to represent a
n
empty vector is typically
* more useful than consistent handling of empty elements. If you do need
* to represent empty elements, you'll need to check for the empty string
* before calling virStringSplit().
...
...
src/vbox/vbox_tmpl.c
浏览文件 @
ff8e0212
...
...
@@ -1793,7 +1793,7 @@ vboxConnectDomainEventRegister(virConnectPtr conn,
vboxRet
=
0
;
}
/* Get the vbox file handle and add a event handle to it
/* Get the vbox file handle and add a
n
event handle to it
* so that the events can be passed down to the user
*/
if
(
vboxRet
==
0
)
{
...
...
@@ -1900,7 +1900,7 @@ static int vboxConnectDomainEventRegisterAny(virConnectPtr conn,
vboxRet
=
0
;
}
/* Get the vbox file handle and add a event handle to it
/* Get the vbox file handle and add a
n
event handle to it
* so that the events can be passed down to the user
*/
if
(
vboxRet
==
0
)
{
...
...
tools/virsh-nodedev.c
浏览文件 @
ff8e0212
...
...
@@ -818,7 +818,7 @@ vshEventGenericPrint(virConnectPtr conn ATTRIBUTE_UNUSED,
if
(
virTimeStringNowRaw
(
timestamp
)
<
0
)
timestamp
[
0
]
=
'\0'
;
vshPrint
(
data
->
ctl
,
_
(
"%s: event '%s'
'
for node device %s
\n
"
),
vshPrint
(
data
->
ctl
,
_
(
"%s: event '%s' for node device %s
\n
"
),
timestamp
,
data
->
cb
->
name
,
virNodeDeviceGetName
(
dev
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录