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>
Showing
- Documentation/kernel-parameters.txt 11 additions, 0 deletionsDocumentation/kernel-parameters.txt
- arch/x86/xen/Makefile 1 addition, 1 deletionarch/x86/xen/Makefile
- arch/x86/xen/enlighten.c 1 addition, 0 deletionsarch/x86/xen/enlighten.c
- arch/x86/xen/platform-pci-unplug.c 135 additions, 0 deletionsarch/x86/xen/platform-pci-unplug.c
- arch/x86/xen/xen-ops.h 1 addition, 0 deletionsarch/x86/xen/xen-ops.h
- drivers/block/xen-blkfront.c 17 additions, 0 deletionsdrivers/block/xen-blkfront.c
- drivers/xen/platform-pci.c 6 additions, 0 deletionsdrivers/xen/platform-pci.c
- drivers/xen/xenbus/xenbus_probe.c 4 additions, 0 deletionsdrivers/xen/xenbus/xenbus_probe.c
- include/xen/platform_pci.h 49 additions, 0 deletionsinclude/xen/platform_pci.h
Loading
Please register or sign in to comment