[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1388775730-2984-1-git-send-email-stefano.stabellini@eu.citrix.com>
Date: Fri, 3 Jan 2014 19:02:09 +0000
From: Stefano Stabellini <stefano.stabellini@...citrix.com>
To: <xen-devel@...ts.xensource.com>
CC: <linux-kernel@...r.kernel.org>, <konrad.wilk@...cle.com>,
<stefano.stabellini@...citrix.com>, <boris.ostrovsky@...cle.com>,
<plagnioj@...osoft.com>, <tomi.valkeinen@...com>,
<linux-fbdev@...r.kernel.org>
Subject: [PATCH v2] allow xenfb initialization for hvm guests
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@...citrix.com>
Acked-by: David Vrabel <david.vrabel@...rix.com>
CC: boris.ostrovsky@...cle.com
CC: plagnioj@...osoft.com
CC: tomi.valkeinen@...com
CC: linux-fbdev@...r.kernel.org
CC: konrad.wilk@...cle.com
---
drivers/video/xen-fbfront.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c
index cd005c2..02e1c01 100644
--- a/drivers/video/xen-fbfront.c
+++ b/drivers/video/xen-fbfront.c
@@ -692,7 +692,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. */
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists