unmodified_drivers: enable unplug per default
PATCH 1/1 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 xenlinux.
Currently its required to load xen-platform-pci with the module parameter dev_unplug=all, which is cumbersome.
Signed-off-by Olaf Hering <[email protected]>
--- unmodified_drivers/linux-2.6/platform-pci/platform-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c +1 -1
@@ -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: " "[all,][ide-disks,][aux-ide-disks,][nics]\n" );