Skip to content

Commit

Permalink
xen/fb: allow xenfb initialization for hvm guests
Browse files Browse the repository at this point in the history
There is no reasons why an HVM guest shouldn't be allowed to use xenfb.
As a matter of fact ARM guests, HVM from Linux POV, can use xenfb.
Given that no Xen toolstacks configure a xenfb backend for x86 HVM
guests, they are not affected.

Please note that at this time QEMU needs few outstanding fixes to
provide xenfb on ARM:

http://marc.info/?l=qemu-devel&m=138739419700837&w=2

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: David Vrabel <david.vrabel@citrix.com>
CC: boris.ostrovsky@oracle.com
CC: plagnioj@jcrosoft.com
CC: tomi.valkeinen@ti.com
CC: linux-fbdev@vger.kernel.org
CC: konrad.wilk@oracle.com
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Stefano Stabellini authored and Konrad Rzeszutek Wilk committed Jan 7, 2014
1 parent be1403b commit b1a3b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/xen-fbfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ static DEFINE_XENBUS_DRIVER(xenfb, ,

static int __init xenfb_init(void)
{
if (!xen_pv_domain())
if (!xen_domain())
return -ENODEV;

/* Nothing to do if running in dom0. */
Expand Down

0 comments on commit b1a3b1c

Please sign in to comment.