[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xencommons: Attempt to load blktap 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 <george.dunlap@xxxxxxxxxxxxx>

diff -r 99244350516a -r db614e92faf7 tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons     Tue May 15 16:48:49 2012 +0100
+++ b/tools/hotplug/Linux/init.d/xencommons     Tue May 15 16:49:32 2012 +0100
@@ -59,6 +59,7 @@ do_start () {
        modprobe evtchn 2>/dev/null
        modprobe gntdev 2>/dev/null
        modprobe xen-acpi-processor 2>/dev/null
+       modprobe blktap 2>/dev/null
        mkdir -p /var/run/xen
        if ! `xenstore-read -s / >/dev/null 2>&1`

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.