linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] allow xenfb initialization for hvm guests
@ 2013-12-17 17:53 Stefano Stabellini
  2013-12-18 11:51 ` [Xen-devel] " Ian Campbell
  2013-12-31 14:50 ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 10+ messages in thread
From: Stefano Stabellini @ 2013-12-17 17:53 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Stefano Stabellini, xen-devel, linux-kernel

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.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

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. */

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-03 18:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 17:53 [PATCH] allow xenfb initialization for hvm guests Stefano Stabellini
2013-12-18 11:51 ` [Xen-devel] " Ian Campbell
2013-12-18 15:14   ` Konrad Rzeszutek Wilk
2013-12-18 15:18     ` Stefano Stabellini
2013-12-18 15:27       ` Konrad Rzeszutek Wilk
2013-12-18 17:32         ` Stefano Stabellini
2013-12-18 15:31     ` Andrew Cooper
2013-12-31 14:50 ` Konrad Rzeszutek Wilk
2014-01-02 12:52   ` David Vrabel
2014-01-03 18:38   ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).