Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
ca18914e
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看板
提交
ca18914e
编写于
12月 09, 2017
作者:
Y
Yuri Chornoivan
提交者:
Andrea Bolognani
12月 12, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix minor typos
上级
fd754cb6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
8 deletion
+8
-8
src/qemu/qemu.conf
src/qemu/qemu.conf
+1
-1
src/qemu/qemu_domain.c
src/qemu/qemu_domain.c
+3
-3
src/xen/xen_hypervisor.c
src/xen/xen_hypervisor.c
+2
-2
src/xen/xend_internal.c
src/xen/xend_internal.c
+2
-2
未找到文件。
src/qemu/qemu.conf
浏览文件 @
ca18914e
...
...
@@ -419,7 +419,7 @@
# What cgroup controllers to make use of with QEMU guests
#
# - 'cpu' - use for schedul
a
r tunables
# - 'cpu' - use for schedul
e
r tunables
# - 'devices' - use for device whitelisting
# - 'memory' - use for memory tunables
# - 'blkio' - use for block devices I/O tunables
...
...
src/qemu/qemu_domain.c
浏览文件 @
ca18914e
...
...
@@ -3694,7 +3694,7 @@ qemuDomainWatchdogDefValidate(const virDomainWatchdogDef *dev,
if
(
dev
->
info
.
type
!=
VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE
&&
dev
->
info
.
type
!=
VIR_DOMAIN_DEVICE_ADDRESS_TYPE_PCI
)
{
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
_
(
"%s model of watchog can go only on PCI bus"
),
_
(
"%s model of watch
d
og can go only on PCI bus"
),
virDomainWatchdogModelTypeToString
(
dev
->
model
));
return
-
1
;
}
...
...
@@ -3704,7 +3704,7 @@ qemuDomainWatchdogDefValidate(const virDomainWatchdogDef *dev,
if
(
dev
->
info
.
type
!=
VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE
&&
dev
->
info
.
type
!=
VIR_DOMAIN_DEVICE_ADDRESS_TYPE_ISA
)
{
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
_
(
"%s model of watchog can go only on ISA bus"
),
_
(
"%s model of watch
d
og can go only on ISA bus"
),
virDomainWatchdogModelTypeToString
(
dev
->
model
));
return
-
1
;
}
...
...
@@ -3713,7 +3713,7 @@ qemuDomainWatchdogDefValidate(const virDomainWatchdogDef *dev,
case
VIR_DOMAIN_WATCHDOG_MODEL_DIAG288
:
if
(
dev
->
info
.
type
!=
VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE
)
{
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
_
(
"%s model of watchog is virtual and cannot go on any bus."
),
_
(
"%s model of watch
d
og is virtual and cannot go on any bus."
),
virDomainWatchdogModelTypeToString
(
dev
->
model
));
return
-
1
;
}
...
...
src/xen/xen_hypervisor.c
浏览文件 @
ca18914e
...
...
@@ -1263,7 +1263,7 @@ xenHypervisorGetSchedulerParameters(virConnectPtr conn,
/* TODO: Implement for Xen/SEDF */
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
"%s"
,
_
(
"SEDF schedul
a
r parameters not supported"
));
_
(
"SEDF schedul
e
r parameters not supported"
));
return
-
1
;
case
XEN_SCHEDULER_CREDIT
:
memset
(
&
op_dom
,
0
,
sizeof
(
op_dom
));
...
...
@@ -1361,7 +1361,7 @@ xenHypervisorSetSchedulerParameters(virConnectPtr conn,
case
XEN_SCHEDULER_SEDF
:
/* TODO: Implement for Xen/SEDF */
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
"%s"
,
_
(
"SEDF schedul
a
r parameters not supported"
));
_
(
"SEDF schedul
e
r parameters not supported"
));
return
-
1
;
case
XEN_SCHEDULER_CREDIT
:
{
memset
(
&
op_dom
,
0
,
sizeof
(
op_dom
));
...
...
src/xen/xend_internal.c
浏览文件 @
ca18914e
...
...
@@ -2871,7 +2871,7 @@ xenDaemonGetSchedulerParameters(virConnectPtr conn,
/* TODO: Implement for Xen/SEDF */
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
"%s"
,
_
(
"SEDF schedul
a
r parameters not supported"
));
_
(
"SEDF schedul
e
r parameters not supported"
));
goto
error
;
case
XEN_SCHED_CRED_NPARAM
:
/* get cpu_weight/cpu_cap from xend/domain */
...
...
@@ -2963,7 +2963,7 @@ xenDaemonSetSchedulerParameters(virConnectPtr conn,
case
XEN_SCHED_SEDF_NPARAM
:
/* TODO: Implement for Xen/SEDF */
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
"%s"
,
_
(
"SEDF schedul
a
r parameters not supported"
));
_
(
"SEDF schedul
e
r parameters not supported"
));
goto
error
;
case
XEN_SCHED_CRED_NPARAM
:
{
char
buf_weight
[
VIR_UUID_BUFLEN
];
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录