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>
This commit is contained in:
parent
8613d78ab0
commit
bcc57df281
@ -73,8 +73,8 @@ bool xen_has_pv_devices(void)
|
|||||||
if (!xen_domain())
|
if (!xen_domain())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
/* PV domains always have them. */
|
/* PV and PVH domains always have them. */
|
||||||
if (xen_pv_domain())
|
if (xen_pv_domain() || xen_pvh_domain())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
/* And user has xen_platform_pci=0 set in guest config as
|
/* And user has xen_platform_pci=0 set in guest config as
|
||||||
|
Loading…
Reference in New Issue
Block a user