[PATCH v2 05/11] xen/hvmlite: HVMlite guests always have PV devices

From: Boris Ostrovsky
Date: Mon Feb 01 2016 - 10:44:47 EST


Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
---
arch/x86/xen/platform-pci-unplug.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
index 9586ff3..802ec90 100644
--- a/arch/x86/xen/platform-pci-unplug.c
+++ b/arch/x86/xen/platform-pci-unplug.c
@@ -73,8 +73,8 @@ bool xen_has_pv_devices(void)
if (!xen_domain())
return false;

- /* PV domains always have them. */
- if (xen_pv_domain())
+ /* PV and HVMlite domains always have them. */
+ if (xen_pv_domain() || xen_hvmlite)
return true;

/* And user has xen_platform_pci=0 set in guest config as
--
1.7.1