From: Boris Ostrovsky Date: Mon, 6 Feb 2017 15:57:15 +0000 (-0500) Subject: xen/pvh: PVH guests always have PV devices X-Git-Tag: v4.11-rc1~136^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bcc57df281d93dfa502c824e9f73e0191c3f7c34;p=karo-tx-linux.git xen/pvh: PVH guests always have PV devices Signed-off-by: Boris Ostrovsky Reviewed-by: Juergen Gross Reviewed-by: Konrad Rzeszutek Wilk --- diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c index 90d1b83cf35f..33a783c77d96 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 PVH domains always have them. */ + if (xen_pv_domain() || xen_pvh_domain()) return true; /* And user has xen_platform_pci=0 set in guest config as