Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
d276da48
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看板
提交
d276da48
编写于
11月 15, 2016
作者:
N
Nitesh Konkar
提交者:
John Ferlan
11月 23, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix typos and grammar
Signed-off-by:
N
Nitesh Konkar
<
nitkon12@linux.vnet.ibm.com
>
上级
5d9c2c70
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
12 addition
and
12 deletion
+12
-12
src/util/vircgroup.c
src/util/vircgroup.c
+2
-2
src/util/vircrypto.c
src/util/vircrypto.c
+1
-1
src/util/virdbus.c
src/util/virdbus.c
+1
-1
src/util/virhostcpu.c
src/util/virhostcpu.c
+1
-1
src/util/virhostdev.c
src/util/virhostdev.c
+1
-1
src/util/virrotatingfile.c
src/util/virrotatingfile.c
+1
-1
src/util/virstoragefile.c
src/util/virstoragefile.c
+1
-1
src/util/virstring.c
src/util/virstring.c
+1
-1
src/util/virtypedparam.c
src/util/virtypedparam.c
+1
-1
src/util/virxml.c
src/util/virxml.c
+1
-1
tools/virsh.pod
tools/virsh.pod
+1
-1
未找到文件。
src/util/vircgroup.c
浏览文件 @
d276da48
...
@@ -2778,7 +2778,7 @@ virCgroupGetCpusetMemoryMigrate(virCgroupPtr group, bool *migrate)
...
@@ -2778,7 +2778,7 @@ virCgroupGetCpusetMemoryMigrate(virCgroupPtr group, bool *migrate)
* @group: The cgroup to set cpuset.cpus for
* @group: The cgroup to set cpuset.cpus for
* @cpus: the cpus to set
* @cpus: the cpus to set
*
*
* Retu
e
ns: 0 on success
* Retu
r
ns: 0 on success
*/
*/
int
int
virCgroupSetCpusetCpus
(
virCgroupPtr
group
,
const
char
*
cpus
)
virCgroupSetCpusetCpus
(
virCgroupPtr
group
,
const
char
*
cpus
)
...
@@ -2796,7 +2796,7 @@ virCgroupSetCpusetCpus(virCgroupPtr group, const char *cpus)
...
@@ -2796,7 +2796,7 @@ virCgroupSetCpusetCpus(virCgroupPtr group, const char *cpus)
* @group: The cgroup to get cpuset.cpus for
* @group: The cgroup to get cpuset.cpus for
* @cpus: the cpus to get
* @cpus: the cpus to get
*
*
* Retu
e
ns: 0 on success
* Retu
r
ns: 0 on success
*/
*/
int
int
virCgroupGetCpusetCpus
(
virCgroupPtr
group
,
char
**
cpus
)
virCgroupGetCpusetCpus
(
virCgroupPtr
group
,
char
**
cpus
)
...
...
src/util/vircrypto.c
浏览文件 @
d276da48
...
@@ -124,7 +124,7 @@ virCryptoHaveCipher(virCryptoCipher algorithm)
...
@@ -124,7 +124,7 @@ virCryptoHaveCipher(virCryptoCipher algorithm)
*
*
* Performs the AES gnutls encryption
* Performs the AES gnutls encryption
*
*
* Same input as virCryptoEncryptData, except the algoritm is replaced
* Same input as virCryptoEncryptData, except the algorit
h
m is replaced
* by the specific gnutls algorithm.
* by the specific gnutls algorithm.
*
*
* Encrypts the @data buffer using the @enckey and if available the @iv
* Encrypts the @data buffer using the @enckey and if available the @iv
...
...
src/util/virdbus.c
浏览文件 @
d276da48
...
@@ -1749,7 +1749,7 @@ int virDBusIsServiceEnabled(const char *name)
...
@@ -1749,7 +1749,7 @@ int virDBusIsServiceEnabled(const char *name)
* virDBusIsServiceRegistered
* virDBusIsServiceRegistered
* @name: service name
* @name: service name
*
*
* Ret
ru
ns 0 if service is registered, -1 on fatal error, or -2 if service is not registered
* Ret
ur
ns 0 if service is registered, -1 on fatal error, or -2 if service is not registered
*/
*/
int
virDBusIsServiceRegistered
(
const
char
*
name
)
int
virDBusIsServiceRegistered
(
const
char
*
name
)
{
{
...
...
src/util/virhostcpu.c
浏览文件 @
d276da48
...
@@ -655,7 +655,7 @@ virHostCPUGetInfoPopulateLinux(FILE *cpuinfo,
...
@@ -655,7 +655,7 @@ virHostCPUGetInfoPopulateLinux(FILE *cpuinfo,
* subcores alone will be online on the host for a subcore in the
* subcores alone will be online on the host for a subcore in the
* host. Even though the actual threads per core for P8 processor is 8,
* host. Even though the actual threads per core for P8 processor is 8,
* depending on the subcores_per_core = 1, 2 or 4, the threads per
* depending on the subcores_per_core = 1, 2 or 4, the threads per
* subcore will vary accordingly to 8, 4 and 2 repectively.
* subcore will vary accordingly to 8, 4 and 2 re
s
pectively.
* So, On host threads_per_core what is arrived at from sysfs in the
* So, On host threads_per_core what is arrived at from sysfs in the
* current logic is actually the subcores_per_core. Threads per subcore
* current logic is actually the subcores_per_core. Threads per subcore
* can only be obtained from the kvm device. For example, on P8 wih 1
* can only be obtained from the kvm device. For example, on P8 wih 1
...
...
src/util/virhostdev.c
浏览文件 @
d276da48
...
@@ -751,7 +751,7 @@ virHostdevPreparePCIDevices(virHostdevManagerPtr mgr,
...
@@ -751,7 +751,7 @@ virHostdevPreparePCIDevices(virHostdevManagerPtr mgr,
virPCIDevicePtr
actual
;
virPCIDevicePtr
actual
;
/* We need to look up the actual device because that's what
/* We need to look up the actual device because that's what
* virPCIDeviceReattach() ex
e
pects as its argument */
* virPCIDeviceReattach() expects as its argument */
if
(
!
(
actual
=
virPCIDeviceListFind
(
mgr
->
inactivePCIHostdevs
,
pci
)))
if
(
!
(
actual
=
virPCIDeviceListFind
(
mgr
->
inactivePCIHostdevs
,
pci
)))
continue
;
continue
;
...
...
src/util/virrotatingfile.c
浏览文件 @
d276da48
...
@@ -512,7 +512,7 @@ virRotatingFileWriterAppend(virRotatingFileWriterPtr file,
...
@@ -512,7 +512,7 @@ virRotatingFileWriterAppend(virRotatingFileWriterPtr file,
* If no file with a inode matching @inode currently
* If no file with a inode matching @inode currently
* exists, then seeks to the start of the oldest
* exists, then seeks to the start of the oldest
* file, on the basis that the requested file has
* file, on the basis that the requested file has
* probably been rotated out of exist
a
nce
* probably been rotated out of exist
e
nce
*/
*/
int
int
virRotatingFileReaderSeek
(
virRotatingFileReaderPtr
file
,
virRotatingFileReaderSeek
(
virRotatingFileReaderPtr
file
,
...
...
src/util/virstoragefile.c
浏览文件 @
d276da48
...
@@ -2022,7 +2022,7 @@ virStorageSourceCopy(const virStorageSource *src,
...
@@ -2022,7 +2022,7 @@ virStorageSourceCopy(const virStorageSource *src,
* virStorageSourceInitChainElement:
* virStorageSourceInitChainElement:
* @newelem: New backing chain element disk source
* @newelem: New backing chain element disk source
* @old: Existing top level disk source
* @old: Existing top level disk source
* @transferLabels: Transfer security lab
le
s.
* @transferLabels: Transfer security lab
el
s.
*
*
* Transfers relevant information from the existing disk source to the new
* Transfers relevant information from the existing disk source to the new
* backing chain element if they weren't supplied so that labelling info
* backing chain element if they weren't supplied so that labelling info
...
...
src/util/virstring.c
浏览文件 @
d276da48
...
@@ -1027,7 +1027,7 @@ virStringStripControlChars(char *str)
...
@@ -1027,7 +1027,7 @@ virStringStripControlChars(char *str)
* Capitalize the string with replacement of all '-' characters for '_'
* Capitalize the string with replacement of all '-' characters for '_'
* characters. Caller frees the result.
* characters. Caller frees the result.
*
*
* Returns 0 if src is NULL, 1 if capitalization was successful
l
, -1 on failure.
* Returns 0 if src is NULL, 1 if capitalization was successful, -1 on failure.
*/
*/
int
int
virStringToUpper
(
char
**
dst
,
const
char
*
src
)
virStringToUpper
(
char
**
dst
,
const
char
*
src
)
...
...
src/util/virtypedparam.c
浏览文件 @
d276da48
...
@@ -1364,7 +1364,7 @@ virTypedParamsRemoteFree(virTypedParameterRemotePtr remote_params_val,
...
@@ -1364,7 +1364,7 @@ virTypedParamsRemoteFree(virTypedParameterRemotePtr remote_params_val,
* parameters for @params to hold, followed by an allocation of @params and
* parameters for @params to hold, followed by an allocation of @params and
* a second call to the deserializer to actually retrieve the data.
* a second call to the deserializer to actually retrieve the data.
* 2) Newer APIs rely completely on the deserializer to allocate the right
* 2) Newer APIs rely completely on the deserializer to allocate the right
* am
m
ount of memory for @params to hold all the data obtained in
* amount of memory for @params to hold all the data obtained in
* @remote_params.
* @remote_params.
*
*
* If used with model 1, two checks are performed, first one comparing the user
* If used with model 1, two checks are performed, first one comparing the user
...
...
src/util/virxml.c
浏览文件 @
d276da48
...
@@ -95,7 +95,7 @@ virXPathString(const char *xpath,
...
@@ -95,7 +95,7 @@ virXPathString(const char *xpath,
/**
/**
* virXPathStringLimit:
* virXPathStringLimit:
* @xpath: the XPath string to evaluate
* @xpath: the XPath string to evaluate
* @maxlen: maximum length permitt
r
ed string
* @maxlen: maximum length permitted string
* @ctxt: an XPath context
* @ctxt: an XPath context
*
*
* Wrapper for virXPathString, which validates the length of the returned
* Wrapper for virXPathString, which validates the length of the returned
...
...
tools/virsh.pod
浏览文件 @
d276da48
...
@@ -1305,7 +1305,7 @@ a hint and the guest may not respect it). By increasing this value,
...
@@ -1305,7 +1305,7 @@ a hint and the guest may not respect it). By increasing this value,
the fstrim operation will complete more quickly for filesystems
the fstrim operation will complete more quickly for filesystems
with badly fragmented free space, although not all blocks will
with badly fragmented free space, although not all blocks will
be discarded. The default value is zero, meaning "discard
be discarded. The default value is zero, meaning "discard
every free block". Moreover,
a if
user wants to trim only one mount
every free block". Moreover,
if a
user wants to trim only one mount
point, it can be specified via optional I<--mountpoint> parameter.
point, it can be specified via optional I<--mountpoint> parameter.
=item B<domhostname> I<domain>
=item B<domhostname> I<domain>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录