aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/kvm.c8
-rw-r--r--arch/x86/kernel/paravirt.c1
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
index 807950860fb7..c66546f29b81 100644
--- a/arch/x86/kernel/kvm.c
+++ b/arch/x86/kernel/kvm.c
@@ -285,14 +285,6 @@ static void __init paravirt_ops_setup(void)
285{ 285{
286 pv_info.name = "KVM"; 286 pv_info.name = "KVM";
287 287
288 /*
289 * KVM isn't paravirt in the sense of paravirt_enabled. A KVM
290 * guest kernel works like a bare metal kernel with additional
291 * features, and paravirt_enabled is about features that are
292 * missing.
293 */
294 pv_info.paravirt_enabled = 0;
295
296 if (kvm_para_has_feature(KVM_FEATURE_NOP_IO_DELAY)) 288 if (kvm_para_has_feature(KVM_FEATURE_NOP_IO_DELAY))
297 pv_cpu_ops.io_delay = kvm_io_delay; 289 pv_cpu_ops.io_delay = kvm_io_delay;
298 290
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c
index f08ac28b8136..71a2d8a05a66 100644
--- a/arch/x86/kernel/paravirt.c
+++ b/arch/x86/kernel/paravirt.c
@@ -294,7 +294,6 @@ enum paravirt_lazy_mode paravirt_get_lazy_mode(void)
294 294
295struct pv_info pv_info = { 295struct pv_info pv_info = {
296 .name = "bare hardware", 296 .name = "bare hardware",
297 .paravirt_enabled = 0,
298 .kernel_rpl = 0, 297 .kernel_rpl = 0,
299 .shared_kernel_pmd = 1, /* Only used when CONFIG_X86_PAE is set */ 298 .shared_kernel_pmd = 1, /* Only used when CONFIG_X86_PAE is set */
300 299