diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-02-06 10:57:15 -0500 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-02-07 08:07:01 -0500 |
commit | bcc57df281d93dfa502c824e9f73e0191c3f7c34 (patch) | |
tree | 5cfdf5dff815b4cc594f28db1780bf814c0dfd20 | |
parent | 8613d78ab09900010a5b32e78ff229f551d661d6 (diff) |
xen/pvh: PVH guests always have PV devices
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>
-rw-r--r-- | 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 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) | |||
73 | if (!xen_domain()) | 73 | if (!xen_domain()) |
74 | return false; | 74 | return false; |
75 | 75 | ||
76 | /* PV domains always have them. */ | 76 | /* PV and PVH domains always have them. */ |
77 | if (xen_pv_domain()) | 77 | if (xen_pv_domain() || xen_pvh_domain()) |
78 | return true; | 78 | return true; |
79 | 79 | ||
80 | /* And user has xen_platform_pci=0 set in guest config as | 80 | /* And user has xen_platform_pci=0 set in guest config as |