mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
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())
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user