lkml.org 
[lkml]   [2014]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] allow xenfb initialization for hvm guests
On Tue, 31 Dec 2013, Konrad Rzeszutek Wilk wrote:
> On Tue, Dec 17, 2013 at 05:53:13PM +0000, Stefano Stabellini wrote:
> > 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.
>
> Could you reference the upstream git commit that enables this.

The toolstack can already setup a xenfb frontend/backend pair for ARM
guests. However QEMU xenpv machine still needs few unapplied fixes to be
built on ARM:

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


> And also CC the maintainers of drivers/video/*
>
> And lastly lets CC also David and Boris on it.

OK

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


\
 
 \ /
  Last update: 2014-01-03 20:01    [W:0.106 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site