[PATCH] paravirt: Add startup infrastructure for paravirtualization
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Dec 2006 01:14:08 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:08 +0000 (02:14 +0100)
commitc9ccf30d77f04064fe5436027ab9d2230c7cdd94
tree95c028ae6f1e50275ff7a40b987300bb647e8ead
parentd7cd56111f30259e1b532a12e06f59f8e0a20355
[PATCH] paravirt: Add startup infrastructure for paravirtualization

1) Each hypervisor writes a probe function to detect whether we are
   running under that hypervisor.  paravirt_probe() registers this
   function.

2) If vmlinux is booted with ring != 0, we call all the probe
   functions (with registers except %esp intact) in link order: the
   winner will not return.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/i386/kernel/Makefile
arch/i386/kernel/head.S
arch/i386/kernel/paravirt.c
arch/i386/kernel/vmlinux.lds.S
include/asm-i386/paravirt.h