diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-02-22 12:21:36 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 05:00:25 -0400 |
commit | 0cf1bfd2737f41e59f974a61eab11af206d2042a (patch) | |
tree | 4edd67efa000f4cb94ef834daa21ac07c2016989 /arch/x86/kernel/setup_64.c | |
parent | a28e4f5a621289fe0d9c8a461b0c256f9e17f3bc (diff) |
x86: KVM guest: add basic paravirt support
Add basic KVM paravirt support. Avoid vm-exits on IO delays.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 8a9213c023ef..a94fb959a87a 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -493,6 +493,8 @@ void __init setup_arch(char **cmdline_p) | |||
493 | init_apic_mappings(); | 493 | init_apic_mappings(); |
494 | ioapic_init_mappings(); | 494 | ioapic_init_mappings(); |
495 | 495 | ||
496 | kvm_guest_init(); | ||
497 | |||
496 | /* | 498 | /* |
497 | * We trust e820 completely. No explicit ROM probing in memory. | 499 | * We trust e820 completely. No explicit ROM probing in memory. |
498 | */ | 500 | */ |