Skip to contentSkip to conversation

fbfront

DISCUSSION Ky Srinivasan 4 participants 9 messages Jul 24, 2007 – Jul 26, 2007

lore
Share & tools
lore
#0 lore raw

Is there a plan to make the front-end frame buffer drivers be hostable on other legacy operating systems as we have done with other front-end drivers.

Thanks,

K. Y

#1 lore raw

The framebuffer device exported by qemu-dm seems to do the job perfectly well for HVM guests.

-- Keir

Quoted 13 lines · Ky Srinivasan

Is there a plan to make the front-end frame buffer drivers be hostable on other legacy operating systems as we have done with other front-end drivers.

Thanks,

K. Y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On Tue, Jul 24, 2007 at 11:42 AM, in message

Quoted 2 lines · Keir Fraser

The framebuffer device exported by qemu- dm seems to do the job perfectly well for HVM guests.

True. However, I was looking at supporting fbfront for a para-virtualized sles9 kernel.

K. Y

Quoted 18 lines

-- Keir

Quoted 13 lines · Ky Srinivasan

Is there a plan to make the front- end frame buffer drivers be hostable on other legacy operating systems as we have done with other front- end drivers.

Thanks,

K. Y

_______________________________________________
Xen- devel mailing list
Xen- [email protected]
http://lists.xensource.com/xen- devel

#3 lore raw
Quoted 7 lines · Ky Srinivasan
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Tue, Jul 24, 2007 at 11:42 AM, in message

Quoted 2 lines · Keir Fraser

The framebuffer device exported by qemu- dm seems to do the job perfectly well for HVM guests.

True. However, I was looking at supporting fbfront for a para-virtualized sles9 kernel.

Take a look at the kernel at
http://xenbits.xensource.com/kernels/sles9x.hg -- it contains the backport already.

The driver itself is portable back to 2.6.5 (essentially for PV on HVM reasons) so all that is needed is to add some of the compatibility stuff to your kernel, somewhat like the PVM-on-HVM compat layer although in the kernel above I've just added the necessary functions directly instead of using the compat stuff itself.

Ian.

#4 lore raw

Thanks Ian.

K. Y

Quoted 1 line
Quoted 1 line
Quoted 1 line

On Thu, Jul 26, 2007 at 4:57 AM, in message

<[email protected]>, Ian Campbell

Quoted 21 lines · <[email protected]> wrote:
Quoted 7 lines · Ky Srinivasan
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Tue, Jul 24, 2007 at 11:42 AM, in message

Quoted 2 lines · Keir Fraser

The framebuffer device exported by qemu- dm seems to do the job perfectly well for HVM guests.

True. However, I was looking at supporting fbfront for a para- virtualized

sles9 kernel.

Take a look at the kernel at
http://xenbits.xensource.com/kernels/sles9x.hg -- it contains the backport already.

The driver itself is portable back to 2.6.5 (essentially for PV on HVM reasons) so all that is needed is to add some of the compatibility stuff to your kernel, somewhat like the PVM- on- HVM compat layer although in the kernel above I've just added the necessary functions directly instead of using the compat stuff itself.

Ian.

#5 lore raw
In reply to Ian Campbell
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On Thu, Jul 26, 2007 at 4:57 AM, in message

<[email protected]>, Ian Campbell

Quoted 14 lines · <[email protected]> wrote:
Quoted 7 lines · Ky Srinivasan
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Tue, Jul 24, 2007 at 11:42 AM, in message

Quoted 2 lines · Keir Fraser

The framebuffer device exported by qemu- dm seems to do the job perfectly well for HVM guests.

True. However, I was looking at supporting fbfront for a para- virtualized

sles9 kernel.

Take a look at the kernel at
http://xenbits.xensource.com/kernels/sles9x.hg -- it contains the backport already.

Quoted 5 lines

The driver itself is portable back to 2.6.5 (essentially for PV on HVM reasons) so all that is needed is to add some of the compatibility stuff to your kernel, somewhat like the PVM- on- HVM compat layer although in the kernel above I've just added the necessary functions directly instead of using the compat stuff itself.

This is what I did over the last couple of days - I put some of the needed stuff (input_allocate_device() etc) in the platform-compat.c file. I have not tested the code yet.

Regards,

K. Y

Quoted 9 lines

Ian.

_______________________________________________
Xen- devel mailing list
Xen- [email protected]
http://lists.xensource.com/xen- devel

#6 lore raw
In reply to Ian Campbell
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On Thu, Jul 26, 2007 at 4:57 AM, in message

<[email protected]>, Ian Campbell

Quoted 14 lines · <[email protected]> wrote:
Quoted 7 lines · Ky Srinivasan
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Tue, Jul 24, 2007 at 11:42 AM, in message

Quoted 2 lines · Keir Fraser

The framebuffer device exported by qemu- dm seems to do the job perfectly well for HVM guests.

True. However, I was looking at supporting fbfront for a para- virtualized

sles9 kernel.

Take a look at the kernel at
http://xenbits.xensource.com/kernels/sles9x.hg -- it contains the backport already.

Quoted 5 lines

The driver itself is portable back to 2.6.5 (essentially for PV on HVM reasons) so all that is needed is to add some of the compatibility stuff to your kernel, somewhat like the PVM- on- HVM compat layer although in the kernel above I've just added the necessary functions directly instead of using the compat stuff itself.

This is what I did over the last couple of days - I put some of the needed stuff (input_allocate_device() etc) in the platform-compat.c file. I have not tested the code yet.

Regards,

K. Y

Quoted 9 lines

Ian.

_______________________________________________
Xen- devel mailing list
Xen- [email protected]
http://lists.xensource.com/xen- devel

#7 lore raw
In reply to Keir Fraser
Quoted 2 lines · Keir Fraser

The framebuffer device exported by qemu-dm seems to do the job perfectly well for HVM guests.

For PV guests the backport is hampered by zap_page_range() not being exported on any released kernels and being too big and complex for a sane compat layer.

Someone from RH suggested ages ago that fbfront could be changed to use unmap_mapping_range() instead but I haven't heard anything more since.

Ian.

#8 lore raw
Quoted 10 lines · Ian Campbell
Quoted 2 lines · Keir Fraser

The framebuffer device exported by qemu-dm seems to do the job perfectly well for HVM guests.

For PV guests the backport is hampered by zap_page_range() not being exported on any released kernels and being too big and complex for a sane compat layer.

Someone from RH suggested ages ago that fbfront could be changed to use unmap_mapping_range() instead but I haven't heard anything more since.

Yes. But it's a hairy job, and nobody has gotten around to it so far.

Quoting from the archive: We'd like to replace zap_page_range() with unmap_mapping_range(), for several good reasons:

* it is already fully exported,

* it deals with locking automatically via the address_space i_mmap_lock spinlock,

* it automatically iterates over all the vmas on the address_space without us having to loop over them ourselves.