summaryrefslogtreecommitdiff
path: root/include/xen/platform_pci.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-08-23 11:59:28 +0100
committerIan Campbell <ian.campbell@citrix.com>2010-08-23 11:59:28 +0100
commitc93a4dfb31f2c023da3ad1238c352452f2cc0e05 (patch)
treec141f9f1773a8f132fbd653eaf81a0ec95f4d06f /include/xen/platform_pci.h
parentda5cabf80e2433131bf0ed8993abc0f7ea618c73 (diff)
xen: pvhvm: allow user to request no emulated device unplug
this allows the user to disable pvhvm and revert to emulated devices in case of a system misconfiguration (e.g. initramfs with only emulated drivers in it). Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Acked-by: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Diffstat (limited to 'include/xen/platform_pci.h')
-rw-r--r--include/xen/platform_pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/platform_pci.h b/include/xen/platform_pci.h
index ce9d671c636c..123b7752fa6a 100644
--- a/include/xen/platform_pci.h
+++ b/include/xen/platform_pci.h
@@ -21,6 +21,7 @@
#define XEN_UNPLUG_AUX_IDE_DISKS 4
#define XEN_UNPLUG_ALL 7
#define XEN_UNPLUG_IGNORE 8
+#define XEN_UNPLUG_NEVER 16
static inline int xen_must_unplug_nics(void) {
#if (defined(CONFIG_XEN_NETDEV_FRONTEND) || \