Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
7e3e67a9
K
Kernel
项目概览
openeuler
/
Kernel
接近 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
7e3e67a9
编写于
1月 22, 2020
作者:
P
Paolo Bonzini
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
KVM: x86: remove get_enable_apicv from kvm_x86_ops
It is unused now. Signed-off-by:
N
Paolo Bonzini
<
pbonzini@redhat.com
>
上级
4e19c36f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
0 addition
and
13 deletion
+0
-13
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/kvm_host.h
+0
-1
arch/x86/kvm/svm.c
arch/x86/kvm/svm.c
+0
-6
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.c
+0
-6
未找到文件。
arch/x86/include/asm/kvm_host.h
浏览文件 @
7e3e67a9
...
@@ -1121,7 +1121,6 @@ struct kvm_x86_ops {
...
@@ -1121,7 +1121,6 @@ struct kvm_x86_ops {
void
(
*
enable_nmi_window
)(
struct
kvm_vcpu
*
vcpu
);
void
(
*
enable_nmi_window
)(
struct
kvm_vcpu
*
vcpu
);
void
(
*
enable_irq_window
)(
struct
kvm_vcpu
*
vcpu
);
void
(
*
enable_irq_window
)(
struct
kvm_vcpu
*
vcpu
);
void
(
*
update_cr8_intercept
)(
struct
kvm_vcpu
*
vcpu
,
int
tpr
,
int
irr
);
void
(
*
update_cr8_intercept
)(
struct
kvm_vcpu
*
vcpu
,
int
tpr
,
int
irr
);
bool
(
*
get_enable_apicv
)(
struct
kvm
*
kvm
);
void
(
*
refresh_apicv_exec_ctrl
)(
struct
kvm_vcpu
*
vcpu
);
void
(
*
refresh_apicv_exec_ctrl
)(
struct
kvm_vcpu
*
vcpu
);
void
(
*
hwapic_irr_update
)(
struct
kvm_vcpu
*
vcpu
,
int
max_irr
);
void
(
*
hwapic_irr_update
)(
struct
kvm_vcpu
*
vcpu
,
int
max_irr
);
void
(
*
hwapic_isr_update
)(
struct
kvm_vcpu
*
vcpu
,
int
isr
);
void
(
*
hwapic_isr_update
)(
struct
kvm_vcpu
*
vcpu
,
int
isr
);
...
...
arch/x86/kvm/svm.c
浏览文件 @
7e3e67a9
...
@@ -5147,11 +5147,6 @@ static void svm_set_virtual_apic_mode(struct kvm_vcpu *vcpu)
...
@@ -5147,11 +5147,6 @@ static void svm_set_virtual_apic_mode(struct kvm_vcpu *vcpu)
return
;
return
;
}
}
static
bool
svm_get_enable_apicv
(
struct
kvm
*
kvm
)
{
return
avic
&&
irqchip_split
(
kvm
);
}
static
void
svm_hwapic_irr_update
(
struct
kvm_vcpu
*
vcpu
,
int
max_irr
)
static
void
svm_hwapic_irr_update
(
struct
kvm_vcpu
*
vcpu
,
int
max_irr
)
{
{
}
}
...
@@ -7343,7 +7338,6 @@ static struct kvm_x86_ops svm_x86_ops __ro_after_init = {
...
@@ -7343,7 +7338,6 @@ static struct kvm_x86_ops svm_x86_ops __ro_after_init = {
.
enable_irq_window
=
enable_irq_window
,
.
enable_irq_window
=
enable_irq_window
,
.
update_cr8_intercept
=
update_cr8_intercept
,
.
update_cr8_intercept
=
update_cr8_intercept
,
.
set_virtual_apic_mode
=
svm_set_virtual_apic_mode
,
.
set_virtual_apic_mode
=
svm_set_virtual_apic_mode
,
.
get_enable_apicv
=
svm_get_enable_apicv
,
.
refresh_apicv_exec_ctrl
=
svm_refresh_apicv_exec_ctrl
,
.
refresh_apicv_exec_ctrl
=
svm_refresh_apicv_exec_ctrl
,
.
load_eoi_exitmap
=
svm_load_eoi_exitmap
,
.
load_eoi_exitmap
=
svm_load_eoi_exitmap
,
.
hwapic_irr_update
=
svm_hwapic_irr_update
,
.
hwapic_irr_update
=
svm_hwapic_irr_update
,
...
...
arch/x86/kvm/vmx/vmx.c
浏览文件 @
7e3e67a9
...
@@ -3719,11 +3719,6 @@ void pt_update_intercept_for_msr(struct vcpu_vmx *vmx)
...
@@ -3719,11 +3719,6 @@ void pt_update_intercept_for_msr(struct vcpu_vmx *vmx)
}
}
}
}
static
bool
vmx_get_enable_apicv
(
struct
kvm
*
kvm
)
{
return
enable_apicv
;
}
static
bool
vmx_guest_apic_has_interrupt
(
struct
kvm_vcpu
*
vcpu
)
static
bool
vmx_guest_apic_has_interrupt
(
struct
kvm_vcpu
*
vcpu
)
{
{
struct
vcpu_vmx
*
vmx
=
to_vmx
(
vcpu
);
struct
vcpu_vmx
*
vmx
=
to_vmx
(
vcpu
);
...
@@ -7787,7 +7782,6 @@ static struct kvm_x86_ops vmx_x86_ops __ro_after_init = {
...
@@ -7787,7 +7782,6 @@ static struct kvm_x86_ops vmx_x86_ops __ro_after_init = {
.
update_cr8_intercept
=
update_cr8_intercept
,
.
update_cr8_intercept
=
update_cr8_intercept
,
.
set_virtual_apic_mode
=
vmx_set_virtual_apic_mode
,
.
set_virtual_apic_mode
=
vmx_set_virtual_apic_mode
,
.
set_apic_access_page_addr
=
vmx_set_apic_access_page_addr
,
.
set_apic_access_page_addr
=
vmx_set_apic_access_page_addr
,
.
get_enable_apicv
=
vmx_get_enable_apicv
,
.
refresh_apicv_exec_ctrl
=
vmx_refresh_apicv_exec_ctrl
,
.
refresh_apicv_exec_ctrl
=
vmx_refresh_apicv_exec_ctrl
,
.
load_eoi_exitmap
=
vmx_load_eoi_exitmap
,
.
load_eoi_exitmap
=
vmx_load_eoi_exitmap
,
.
apicv_post_state_restore
=
vmx_apicv_post_state_restore
,
.
apicv_post_state_restore
=
vmx_apicv_post_state_restore
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录