From 3c5b9dcac890323c43794684510c71ebc74501a2 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 31 Aug 2012 11:13:48 +0100 Subject: xencommons: Attempt to load blktap2 driver Older kernels, such as those found in Debian Squeeze: * Have bugs in handling of AIO into foreign pages * Have blktap modules, which will cause qemu not to use AIO, but which are not loaded on boot. Attempt to load blktap in xencommons, to make sure modern qemu's which use AIO will work properly on those kernels. Signed-off-by: George Dunlap Acked-by: Ian Jackson Prefer to load blktap2 if it exists. This is the name of the driver in classic-Xen ports, while in mainline kernels the driver is called just blktap. Signed-off-by: Ian Campbell Acked-by: Jan Beulich Committed-by: Ian Campbell --- tools/hotplug/Linux/init.d/xencommons | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/hotplug') diff --git a/tools/hotplug/Linux/init.d/xencommons b/tools/hotplug/Linux/init.d/xencommons index 25e0e2d8eb..cc8177e6ea 100644 --- a/tools/hotplug/Linux/init.d/xencommons +++ b/tools/hotplug/Linux/init.d/xencommons @@ -68,6 +68,7 @@ do_start () { modprobe usbbk 2>/dev/null modprobe pciback 2>/dev/null modprobe xen-acpi-processor 2>/dev/null + modprobe blktap2 2>/dev/null || modprobe blktap 2>/dev/null mkdir -p /var/run/xen if ! `xenstore-read -s / >/dev/null 2>&1` -- cgit v1.2.3