Rusty Russell
d3561b7fa0
[PATCH] paravirt: header and stubs for paravirtualisation
...
Create a paravirt.h header for all the critical operations which need to be
replaced with hypervisor calls, and include that instead of defining native
operations, when CONFIG_PARAVIRT.
This patch does the dumbest possible replacement of paravirtualized
instructions: calls through a "paravirt_ops" structure. Currently these are
function implementations of native hardware: hypervisors will override the ops
structure with their own variants.
All the pv-ops functions are declared "fastcall" so that a specific
register-based ABI is used, to make inlining assember easier.
And:
+From: Andy Whitcroft <apw@shadowen.org>
The paravirt ops introduce a 'weak' attribute onto memory_setup().
Code ordering leads to the following warnings on x86:
arch/i386/kernel/setup.c:651: warning: weak declaration of
`memory_setup' after first use results in unspecified behavior
Move memory_setup() to avoid this.
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>
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
2006-12-07 02:14:07 +01:00
..
2006-10-05 15:10:12 +01:00
2006-11-10 11:08:53 -05:00
2006-12-02 00:11:56 -05:00
2006-11-30 06:14:06 -05:00
2006-12-02 00:24:50 -05:00
2006-11-10 11:08:53 -05:00
2006-12-02 21:27:18 -08:00
2006-12-04 02:00:34 -05:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:33:11 -05:00
2006-11-25 15:16:50 -08:00
2006-12-04 16:08:31 +11:00
2006-12-01 14:23:33 -08:00
2006-12-02 21:27:18 -08:00
2006-10-05 15:10:12 +01:00
2006-12-02 21:27:18 -08:00
2006-12-02 00:33:11 -05:00
2006-12-04 20:12:02 -05:00
2006-12-04 15:59:07 +11:00
2006-12-04 02:00:34 -05:00
2006-10-06 14:56:04 -04:00
2006-12-04 19:32:44 -08:00
2006-12-04 15:59:07 +11:00
2006-12-02 00:12:03 -05:00
2006-12-04 20:12:02 -05:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-10-07 10:51:14 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:11:56 -05:00
2006-12-02 00:11:56 -05:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:22:30 -05:00
2006-12-02 00:22:30 -05:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-12-02 00:33:11 -05:00
2006-11-07 04:27:51 -05:00
2006-10-05 15:10:12 +01:00
2006-12-02 21:24:31 -08:00
2006-12-02 21:24:22 -08:00
2006-12-02 21:24:34 -08:00
2006-12-02 21:24:25 -08:00
2006-12-02 21:27:18 -08:00
2006-11-30 06:15:08 -05:00
2006-12-07 02:14:07 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-12-02 00:12:01 -05:00
2006-12-02 00:12:01 -05:00
2006-12-02 00:11:55 -05:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-08 12:32:36 -07:00
2006-11-30 05:24:39 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 15:03:04 -04:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-10-11 11:14:23 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:12:02 -05:00
2006-12-02 00:33:11 -05:00
2006-12-02 00:33:11 -05:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:11:56 -05:00
2006-10-05 15:10:12 +01:00
2006-12-04 20:38:06 +11:00
2006-12-04 20:38:06 +11:00
2006-12-02 21:22:59 -08:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:24:49 -05:00
2006-12-04 02:00:34 -05:00
2006-10-06 20:47:23 -06:00
2006-12-02 00:11:56 -05:00
2006-10-20 00:32:41 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:11:56 -05:00
2006-12-02 00:12:04 -05:00
2006-12-02 00:12:04 -05:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:12:04 -05:00
2006-12-02 21:22:59 -08:00
2006-10-05 15:10:12 +01:00
2006-10-20 10:40:48 -07:00
2006-10-17 19:28:51 -07:00
2006-12-02 21:22:59 -08:00
2006-10-05 15:10:12 +01:00
2006-12-04 02:00:34 -05:00
2006-12-02 00:11:56 -05:00
2006-12-02 21:22:37 -08:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-12-01 14:52:00 -08:00
2006-12-02 21:23:51 -08:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:12:01 -05:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-31 20:22:06 -05:00
2006-10-10 16:15:34 -07:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-10-21 14:20:01 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-12-02 21:27:18 -08:00
2006-10-11 04:06:09 -04:00
2006-12-02 21:27:18 -08:00
2006-12-02 00:22:30 -05:00
2006-10-07 10:51:15 -07:00
2006-10-21 14:08:24 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-12-02 21:22:23 -08:00
2006-10-11 04:04:27 -04:00
2006-12-04 20:38:55 +11:00
2006-11-30 06:14:06 -05:00
2006-12-04 02:00:34 -05:00
2006-10-11 11:17:06 -07:00
2006-12-04 02:00:29 -05:00
2006-10-17 19:28:51 -07:00
2006-12-02 00:16:36 -05:00
2006-12-04 02:00:34 -05:00
2006-12-04 10:37:06 -08:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-10-05 15:10:12 +01:00
2006-11-21 17:44:31 -08:00
2006-10-05 15:10:12 +01:00
2006-12-02 00:12:03 -05:00
2006-12-02 00:12:03 -05:00
2006-12-04 02:00:34 -05:00
2006-10-21 14:09:51 -04:00
2006-10-21 14:09:51 -04:00
2006-12-02 00:16:36 -05:00
2006-10-21 14:09:51 -04:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-06 14:56:04 -04:00
2006-10-06 14:56:04 -04:00
2006-12-02 00:11:56 -05:00