diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-08-23 06:59:28 -0400 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-08-23 06:59:28 -0400 |
commit | c93a4dfb31f2c023da3ad1238c352452f2cc0e05 (patch) | |
tree | c141f9f1773a8f132fbd653eaf81a0ec95f4d06f /include/xen | |
parent | da5cabf80e2433131bf0ed8993abc0f7ea618c73 (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')
-rw-r--r-- | include/xen/platform_pci.h | 1 |
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 @@ | |||
21 | #define XEN_UNPLUG_AUX_IDE_DISKS 4 | 21 | #define XEN_UNPLUG_AUX_IDE_DISKS 4 |
22 | #define XEN_UNPLUG_ALL 7 | 22 | #define XEN_UNPLUG_ALL 7 |
23 | #define XEN_UNPLUG_IGNORE 8 | 23 | #define XEN_UNPLUG_IGNORE 8 |
24 | #define XEN_UNPLUG_NEVER 16 | ||
24 | 25 | ||
25 | static inline int xen_must_unplug_nics(void) { | 26 | static inline int xen_must_unplug_nics(void) { |
26 | #if (defined(CONFIG_XEN_NETDEV_FRONTEND) || \ | 27 | #if (defined(CONFIG_XEN_NETDEV_FRONTEND) || \ |