x86: Unplug emulated disks and nics.
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 14 May 2010 11:44:30 +0000 (12:44 +0100)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 27 Jul 2010 06:13:25 +0000 (23:13 -0700)
commitc1c5413ad58cb73267d328e6020268aa2e50d8ca
treef2c66141ab8d9fdb7b16a13d4d510ad09b2430ed
parent409771d258e9dd71c30f3c9520fd2b796ffc40f0
x86: Unplug emulated disks and nics.

Add a xen_emul_unplug command line option to the kernel to unplug
xen emulated disks and nics.

Set the default value of xen_emul_unplug depending on whether or
not the Xen PV frontends and the Xen platform PCI driver have
been compiled for this kernel (modules or built-in are both OK).

The user can specify xen_emul_unplug=ignore to enable PV drivers on HVM
even if the host platform doesn't support unplug.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Documentation/kernel-parameters.txt
arch/x86/xen/Makefile
arch/x86/xen/enlighten.c
arch/x86/xen/platform-pci-unplug.c [new file with mode: 0644]
arch/x86/xen/xen-ops.h
drivers/block/xen-blkfront.c
drivers/xen/platform-pci.c
drivers/xen/xenbus/xenbus_probe.c
include/xen/platform_pci.h [new file with mode: 0644]