Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
955be927
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,发现更多精彩内容 >>
提交
955be927
编写于
7月 23, 2013
作者:
J
Jiri Denemark
提交者:
Peter Krempa
10月 15, 2013
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cpu: x86: Rename x86DataAddCpuid as virCPUx86DataAddCPUID
上级
4a530268
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
6 addition
and
6 deletion
+6
-6
src/cpu/cpu_x86.c
src/cpu/cpu_x86.c
+6
-6
未找到文件。
src/cpu/cpu_x86.c
浏览文件 @
955be927
...
@@ -296,8 +296,8 @@ x86DataExpand(virCPUx86Data *data,
...
@@ -296,8 +296,8 @@ x86DataExpand(virCPUx86Data *data,
static
int
static
int
x86DataAddCpuid
(
virCPUx86Data
*
data
,
virCPUx86DataAddCPUID
(
virCPUx86Data
*
data
,
const
virCPUx86CPUID
*
cpuid
)
const
virCPUx86CPUID
*
cpuid
)
{
{
unsigned
int
basic_by
=
0
;
unsigned
int
basic_by
=
0
;
unsigned
int
extended_by
=
0
;
unsigned
int
extended_by
=
0
;
...
@@ -734,7 +734,7 @@ x86FeatureLoad(xmlXPathContextPtr ctxt,
...
@@ -734,7 +734,7 @@ x86FeatureLoad(xmlXPathContextPtr ctxt,
i
,
feature
->
name
);
i
,
feature
->
name
);
goto
ignore
;
goto
ignore
;
}
}
if
(
x86DataAddCpuid
(
feature
->
data
,
&
cpuid
))
if
(
virCPUx86DataAddCPUID
(
feature
->
data
,
&
cpuid
))
goto
error
;
goto
error
;
}
}
...
@@ -1200,7 +1200,7 @@ x86CPUDataParse(const char *xmlStr)
...
@@ -1200,7 +1200,7 @@ x86CPUDataParse(const char *xmlStr)
_
(
"failed to parse cpuid[%zu]"
),
i
);
_
(
"failed to parse cpuid[%zu]"
),
i
);
goto
cleanup
;
goto
cleanup
;
}
}
if
(
x86DataAddCpuid
(
data
,
&
cpuid
)
<
0
)
if
(
virCPUx86DataAddCPUID
(
data
,
&
cpuid
)
<
0
)
goto
cleanup
;
goto
cleanup
;
}
}
...
@@ -1653,7 +1653,7 @@ x86Encode(virArch arch,
...
@@ -1653,7 +1653,7 @@ x86Encode(virArch arch,
if
(
v
&&
if
(
v
&&
(
VIR_ALLOC
(
data_vendor
)
<
0
||
(
VIR_ALLOC
(
data_vendor
)
<
0
||
x86DataAddCpuid
(
data_vendor
,
&
v
->
cpuid
)
<
0
))
{
virCPUx86DataAddCPUID
(
data_vendor
,
&
v
->
cpuid
)
<
0
))
{
goto
error
;
goto
error
;
}
}
}
}
...
@@ -1879,7 +1879,7 @@ x86Baseline(virCPUDefPtr *cpus,
...
@@ -1879,7 +1879,7 @@ x86Baseline(virCPUDefPtr *cpus,
goto
error
;
goto
error
;
}
}
if
(
vendor
&&
x86DataAddCpuid
(
base_model
->
data
,
&
vendor
->
cpuid
)
<
0
)
if
(
vendor
&&
virCPUx86DataAddCPUID
(
base_model
->
data
,
&
vendor
->
cpuid
)
<
0
)
goto
error
;
goto
error
;
if
(
x86Decode
(
cpu
,
base_model
->
data
,
models
,
nmodels
,
NULL
,
flags
)
<
0
)
if
(
x86Decode
(
cpu
,
base_model
->
data
,
models
,
nmodels
,
NULL
,
flags
)
<
0
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录