mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
During the investigation of very slow dump times of guest images in
Amazon EC2 instance, it was discovered that the
register_oldmem_pfn_is_ram() API implemented by the upstream kernel
commit 997c136f518c5debd63847e78e2a8694f56dcf90:
fs/proc/vmcore.c: add hook to read_from_oldmem() to check
for non-ram pages
was not being called. This was due to the PV driver with the call
to register_oldmem_pfn_is_ram() API was not including the
kernel header file that is used to communicate support of the API in the
kernel. Fix the issue by including the required header file.
Signed-off-by: Mike Meyer <mike.meyer@teradata.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Olaf Hering <olaf@aepfle.de>
These drivers provide paravirtualised drivers for pre-PVops Linux
kernels which have the classic-Xen patches applied. They do not work
with kernels which are not patched with the classic-Xen patches. In
particular this includes all PVops kernels.
For 2.6.36 and newer you should use the "PVHVM" functionality which is
available in the mainline kernel.
To build do one of:
./mkbuildtree [<arch>]
NB. You can override paths to Xen sources and a (stub) XenLinux
build tree via the XEN and XL environment variable.
- or -
make -C /path/to/kernel/build M=$PWD modules
NB. This is your native kernel build tree (or a distro provided
stub), not the XenLinux sources referred to in step 1.
NB. If you are cross compiling, you need to set ARCH and
CROSS_COMPILE too.
You get four modules, xen-platform-pci.ko, xen-vbd.ko, xen-vnif.ko and
xen-balloon.ko. Load xen-platform-pci first, and then
whichever of xen-vbd, xen-vnif and xen-balloon.ko you happen to need.