]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xen/pvh: PVH guests always have PV devices
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 6 Feb 2017 15:57:15 +0000 (10:57 -0500)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 7 Feb 2017 13:07:01 +0000 (08:07 -0500)
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/platform-pci-unplug.c

index 90d1b83cf35f2ae72f7bde1b63fcbb2c9fb219ec..33a783c77d969ecb5c76b841e13aa2ac19ad0da5 100644 (file)
@@ -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