* [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
* Re: [Xen-devel] [PATCH] allow xenfb initialization for hvm guests
2013-12-17 17:53 [PATCH] allow xenfb initialization for hvm guests Stefano Stabellini
@ 2013-12-18 11:51 ` Ian Campbell
2013-12-18 15:14 ` Konrad Rzeszutek Wilk
2013-12-31 14:50 ` Konrad Rzeszutek Wilk
1 sibling, 1 reply; 10+ messages in thread
From: Ian Campbell @ 2013-12-18 11:51 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: Konrad Rzeszutek Wilk, xen-devel, linux-kernel
On Tue, 2013-12-17 at 17:53 +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.
and if a toolstack did I think it would be reasonable to expect the
kernel to at least try and drive it!
> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xen-devel] [PATCH] allow xenfb initialization for hvm guests
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:31 ` Andrew Cooper
0 siblings, 2 replies; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-12-18 15:14 UTC (permalink / raw)
To: Ian Campbell, david.vrabel; +Cc: Stefano Stabellini, xen-devel, linux-kernel
On Wed, Dec 18, 2013 at 11:51:22AM +0000, Ian Campbell wrote:
> On Tue, 2013-12-17 at 17:53 +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.
>
> and if a toolstack did I think it would be reasonable to expect the
> kernel to at least try and drive it!
>
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
>
> Acked-by: Ian Campbell <ian.campbell@citrix.com>
I think David Vrabel is going to Nack it unless there is a test-case.
I am saying that because in his previous statement for Wei's multi-page
patches was that if there are no users (or at least no test-cases) then
it should not be part of the kernel.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xen-devel] [PATCH] allow xenfb initialization for hvm guests
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 15:31 ` Andrew Cooper
1 sibling, 1 reply; 10+ messages in thread
From: Stefano Stabellini @ 2013-12-18 15:18 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Ian Campbell, david.vrabel, Stefano Stabellini, xen-devel,
linux-kernel
On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote:
> On Wed, Dec 18, 2013 at 11:51:22AM +0000, Ian Campbell wrote:
> > On Tue, 2013-12-17 at 17:53 +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.
> >
> > and if a toolstack did I think it would be reasonable to expect the
> > kernel to at least try and drive it!
> >
> > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> >
> > Acked-by: Ian Campbell <ian.campbell@citrix.com>
>
> I think David Vrabel is going to Nack it unless there is a test-case.
>
> I am saying that because in his previous statement for Wei's multi-page
> patches was that if there are no users (or at least no test-cases) then
> it should not be part of the kernel.
Well there is one: ARM. There isn't one on x86.
http://marc.info/?l=xen-devel&m=138730150806639&w=2
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xen-devel] [PATCH] allow xenfb initialization for hvm guests
2013-12-18 15:18 ` Stefano Stabellini
@ 2013-12-18 15:27 ` Konrad Rzeszutek Wilk
2013-12-18 17:32 ` Stefano Stabellini
0 siblings, 1 reply; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-12-18 15:27 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: Ian Campbell, david.vrabel, xen-devel, linux-kernel
On Wed, Dec 18, 2013 at 03:18:45PM +0000, Stefano Stabellini wrote:
> On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote:
> > On Wed, Dec 18, 2013 at 11:51:22AM +0000, Ian Campbell wrote:
> > > On Tue, 2013-12-17 at 17:53 +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.
> > >
> > > and if a toolstack did I think it would be reasonable to expect the
> > > kernel to at least try and drive it!
> > >
> > > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> > >
> > > Acked-by: Ian Campbell <ian.campbell@citrix.com>
> >
> > I think David Vrabel is going to Nack it unless there is a test-case.
> >
> > I am saying that because in his previous statement for Wei's multi-page
> > patches was that if there are no users (or at least no test-cases) then
> > it should not be part of the kernel.
>
> Well there is one: ARM. There isn't one on x86.
>
> http://marc.info/?l=xen-devel&m=138730150806639&w=2
Ah I missed that. I think that this particular patch can wait till the
next merge window?
Would it make sense to have the XenFB also work on x86? Is it difficult
to make it work on it?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xen-devel] [PATCH] allow xenfb initialization for hvm guests
2013-12-18 15:14 ` Konrad Rzeszutek Wilk
2013-12-18 15:18 ` Stefano Stabellini
@ 2013-12-18 15:31 ` Andrew Cooper
1 sibling, 0 replies; 10+ messages in thread
From: Andrew Cooper @ 2013-12-18 15:31 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Ian Campbell, david.vrabel, xen-devel, linux-kernel,
Stefano Stabellini
On 18/12/13 15:14, Konrad Rzeszutek Wilk wrote:
> On Wed, Dec 18, 2013 at 11:51:22AM +0000, Ian Campbell wrote:
>> On Tue, 2013-12-17 at 17:53 +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.
>> and if a toolstack did I think it would be reasonable to expect the
>> kernel to at least try and drive it!
>>
>>> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
>> Acked-by: Ian Campbell <ian.campbell@citrix.com>
> I think David Vrabel is going to Nack it unless there is a test-case.
>
> I am saying that because in his previous statement for Wei's multi-page
> patches was that if there are no users (or at least no test-cases) then
> it should not be part of the kernel.
Without trying to presume too much, I really don't think he would.
This patch is taking an existing thing and permitting it to work in more
cases (which is a good change IMO).
The multi-page rings was completely brand new functionality with no
consumers at all, so no ability to verify the implementation. It is a
completely different context.
~Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xen-devel] [PATCH] allow xenfb initialization for hvm guests
2013-12-18 15:27 ` Konrad Rzeszutek Wilk
@ 2013-12-18 17:32 ` Stefano Stabellini
0 siblings, 0 replies; 10+ messages in thread
From: Stefano Stabellini @ 2013-12-18 17:32 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini, Ian Campbell, david.vrabel, xen-devel,
linux-kernel
On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote:
> On Wed, Dec 18, 2013 at 03:18:45PM +0000, Stefano Stabellini wrote:
> > On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote:
> > > On Wed, Dec 18, 2013 at 11:51:22AM +0000, Ian Campbell wrote:
> > > > On Tue, 2013-12-17 at 17:53 +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.
> > > >
> > > > and if a toolstack did I think it would be reasonable to expect the
> > > > kernel to at least try and drive it!
> > > >
> > > > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> > > >
> > > > Acked-by: Ian Campbell <ian.campbell@citrix.com>
> > >
> > > I think David Vrabel is going to Nack it unless there is a test-case.
> > >
> > > I am saying that because in his previous statement for Wei's multi-page
> > > patches was that if there are no users (or at least no test-cases) then
> > > it should not be part of the kernel.
> >
> > Well there is one: ARM. There isn't one on x86.
> >
> > http://marc.info/?l=xen-devel&m=138730150806639&w=2
>
> Ah I missed that. I think that this particular patch can wait till the
> next merge window?
Surely it can wait.
> Would it make sense to have the XenFB also work on x86? Is it difficult
> to make it work on it?
The issue is that you need stdvga anyway in order to boot and xenfb is
not much better than stdvga after all (except that it doesn't require
QEMU's pc machine emulator).
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] allow xenfb initialization for hvm guests
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-31 14:50 ` Konrad Rzeszutek Wilk
2014-01-02 12:52 ` David Vrabel
2014-01-03 18:38 ` Stefano Stabellini
1 sibling, 2 replies; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-12-31 14:50 UTC (permalink / raw)
To: Stefano Stabellini, david.vrabel, boris.ostrovsky; +Cc: xen-devel, linux-kernel
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.
And also CC the maintainers of drivers/video/*
And lastly lets CC also David and Boris on it.
>
> 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 [flat|nested] 10+ messages in thread
* Re: [PATCH] allow xenfb initialization for hvm guests
2013-12-31 14:50 ` Konrad Rzeszutek Wilk
@ 2014-01-02 12:52 ` David Vrabel
2014-01-03 18:38 ` Stefano Stabellini
1 sibling, 0 replies; 10+ messages in thread
From: David Vrabel @ 2014-01-02 12:52 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini, boris.ostrovsky, xen-devel, linux-kernel
On 31/12/13 14:50, 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.
>
> And also CC the maintainers of drivers/video/*
>
> And lastly lets CC also David and Boris on it.
>
>>
>> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: David Vrabel <david.vrabel@citrix.com>
David
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] allow xenfb initialization for hvm guests
2013-12-31 14:50 ` Konrad Rzeszutek Wilk
2014-01-02 12:52 ` David Vrabel
@ 2014-01-03 18:38 ` Stefano Stabellini
1 sibling, 0 replies; 10+ messages in thread
From: Stefano Stabellini @ 2014-01-03 18:38 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini, david.vrabel, boris.ostrovsky, xen-devel,
linux-kernel
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. */
>
^ permalink raw reply [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).