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

[Xen-devel] [PATCH] unmodified_drivers: enable unplug per default

Since xen-3.3 an official unplug protocol for emulated hardware is
available in the toolstack. The pvops kernel does the unplug per
default, so it is safe to do it also in the drivers for forward ported
Currently its required to load xen-platform-pci with the module
parameter dev_unplug=all, which is cumbersome.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
 unmodified_drivers/linux-2.6/platform-pci/platform-pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c 
index cfd0536..ff405c2 100644
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
@@ -63,7 +63,7 @@ MODULE_LICENSE("GPL");
 /* NB. [aux-]ide-disks options do not unplug IDE CD-ROM drives. */
 /* NB. aux-ide-disks is equiv to ide-disks except ignores primary master. */
-static char *dev_unplug;
+static char *dev_unplug = "all";
 module_param(dev_unplug, charp, 0644);
 MODULE_PARM_DESC(dev_unplug, "Emulated devices to unplug: "

Xen-devel mailing list



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