awilliam@xenbuild.aw
506aac287c
merge with xen-unstable.hg
2006-10-25 12:12:01 -06:00
Ian Campbell
a0b780220a
PV-to-HVM: Add a compatibility define for the end_that_request_last
...
which changed prototype in 2.6.16.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
4a154f7453
PV-on-HVM: Include compatibility kzalloc implementation for kernels
...
before 2.6.14.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
f81a7efad8
PV-to-HVM: Impletement compatibility version of
...
schedule_timeout_interruptible for kernels before 2.6.14
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
cd77de6673
PV-on-HVM: Implement and export a compatibility version of do_exit().
...
Kernels prior to 2.6.12 did not export do_exit().
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
e46b787ee3
PV-on-HVM: Implement compatibilty version of wait_for_completion_timeout
...
for kernels before 2.6.11
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
5a246a6332
PV-on-HVM: Include compatability vmalloc_to_pfn for kernels before 2.6.10
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
4bfff95df7
PV-on-HVM: Kernels prior to 2.6.8 did not export strcspn to modules
...
therefore implement our own and export it.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
f3bebe5fec
PV-on-HVM: Define system_state as 1 (SYSTEM_RUNNING) on kernels prior
...
to 2.6.7. These kernels did not export the system_state variable to
modules.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
c957115a57
PV-to-HVM: Implement compatibility nonseekable_open as a nop on
...
kernels before 2.6.9
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
6b8b36040d
PV-to-HVM: Add compatibility definitions of various #defines when they
...
are not present in the kernel we are building against.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
da611bef47
PV-on-HVM: Include compatability headers for asm/pgtable-no{pmd,pud}.h
...
for kernels before 2.6.11.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
212cd2b3a0
PV-on-HVM: Add a compatibility linux/mutex.h for kernels before
...
2.6.16. This implements the new mutex type in terms of the old
semaphore type.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
3dd858632a
PV-on-HVM: Add a compatibility linux/io.h for kernels before 2.6.16
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
06b12ba822
PV-on-HVM: Add infrastructure for a compatibility shim in order to
...
support PV-on-HVM drivers for older kernel releases.
The compatability code is included in the xen-platform-pci module
since this module underpins all the others.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
16d6a52754
PV-on-HVM: Include a Makefile in each subdirectory to maintain
...
compatability with kernels from before Kbuild files were introduced.
This follows best practice as described in
Documentation/kbuild/modules.txt
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
4f3230eb63
[LINUX] PV-on-HVM: Directly include headers which are used in various
...
files rather than relying on them being included indirectly.
This is required because these headers are not pulled in indirectly on
older kernels.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
awilliam@xenbuild.aw
b5f74534ce
merge with xen-unstable.hg
2006-10-22 15:23:52 -06:00
kfraser@localhost.localdomain
193d77e775
Allow default target architecture of PV-on-HVM drivers to be overridden.
...
Signed-off-by: Travis Betak <travis.betak@amd.com >
2006-10-20 10:58:15 +01:00
awilliam@xenbuild.aw
0efbf059b2
[IA64] Xencomm fixes for HVM PV-drivers
...
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-10-14 16:28:32 -06:00
Steven Smith
5759c4fb6b
[HVM] Use the right, PCI SIG assigned, vendor ID for xensource rather than
...
just making one up.
Signed-off-by: Steven Smith <sos22@cam.ac.uk >
2006-09-21 11:15:13 +01:00
kaf24@firebug.cl.cam.ac.uk
60ddf8d64d
Fix unmodified drivers for PV-on-HVM on IA64.
...
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com >
2006-09-13 14:34:34 +01:00
kaf24@firebug.cl.cam.ac.uk
cda30a2a6c
[HVM] pv drivers: Allocate hypercall area as an executable region.
...
We have to use __vmalloc() and __PAGE_KERNEL because vmalloc_exec()
and PAGE_KERNEL_EXEC are not exported to modules.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-09-08 19:15:11 +01:00
ssmith@weybridge.uk.xensource.com
d8e158c03f
Fix up cset 11228.
...
Signed-off-by: Steven Smith <sos22@cam.ac.uk >
2006-09-05 13:57:30 +01:00
kaf24@localhost.localdomain
eea9e4edd8
Fix Intel copyright notice in a single source file.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-08-28 13:08:41 +01:00
kfraser@localhost.localdomain
b3ea76b1e0
[HVM] Clean ups for PV-on-HVM drivers. In particular, platform-pci
...
driver can now handle multi-page hypercall stub areas.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-08-22 17:16:58 +01:00
kfraser@localhost.localdomain
4dd73a7ce3
Missing file from unmodified_drivers directory.
2006-08-17 19:17:30 +01:00
kfraser@localhost.localdomain
d72404ae25
[NET] front: Allow driver to be built for an HVM guest.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-08-17 18:45:59 +01:00
kfraser@localhost.localdomain
26fdf1475d
Add a small readme file explaining how to build PV-on-HVM drivers.
...
Signed-off-by: Steven Smith <ssmith@xensource.com >
2006-08-17 17:10:13 +01:00
kfraser@localhost.localdomain
dc043970e7
[HVM] Allow blkfront driver to be built for an HVM guest.
...
Signed-off-by: Steven Smith <ssmith@xensource.com >
2006-08-17 16:33:42 +01:00
kfraser@localhost.localdomain
05592e02ad
[HVM] Allow xenbus to run in an HVM guest.
...
Signed-off-by: Steven Smith <ssmith@xensource.com >
2006-08-17 16:32:30 +01:00
kfraser@localhost.localdomain
738c1ffa96
[HVM] Make grant tables functions work in PV-on-HVM drivers.
...
Signed-off-by: Steven Smith <ssmith@xensource.com >
2006-08-17 16:21:08 +01:00
kfraser@localhost.localdomain
98abf9b1f7
[HVM] Linux driver for the xen platform pseudo-PCI device.
...
Signed-off-by: Steven Smith <ssmith@xensource.com >
2006-08-17 16:08:01 +01:00