mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
da5cabf80e
commit
c93a4dfb31
3 changed files with 7 additions and 0 deletions
|
@ -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) || \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue