Re: [Xen-devel] Re: More virtio users

2007-06-11 Thread Benjamin Herrenschmidt
> The X fbdev driver is going to make supporting a new fb ioctl pretty > fun. It currently doesn't even support the existing fb ioctls and has a > strange abstraction layer. > > I reckon writing a new X driver from scratch (or based on something like > the vnc X driver) would be easier in the

Re: [Xen-devel] Re: More virtio users

2007-06-11 Thread Anthony Liguori
Rusty Russell wrote: On Mon, 2007-06-11 at 10:16 +0200, Gerd Hoffmann wrote: Hi, Framebuffer is an interesting one. Virtio doesn't assume shared memory, so naively the fb you would just send outbufs describing changed memory. This would work, but describing rectangles is better. A helper mig

Re: [Xen-devel] Re: More virtio users

2007-06-11 Thread Benjamin Herrenschmidt
On Tue, 2007-06-12 at 09:19 +1000, Rusty Russell wrote: > > Rectangles work just fine for a framebuffer console. They stop > working > > once you plan to run any graphical stuff such as an X-Server on top > of > > the framebuffer. Only way to get notified about changes is page > faults, > > i.

Re: [Xen-devel] Re: More virtio users

2007-06-11 Thread Rusty Russell
On Mon, 2007-06-11 at 10:16 +0200, Gerd Hoffmann wrote: > Hi, > > > Framebuffer is an interesting one. Virtio doesn't assume shared memory, > > so naively the fb you would just send outbufs describing changed memory. > > This would work, but describing rectangles is better. A helper might be > >

Re: [Xen-devel] Re: More virtio users

2007-06-11 Thread Anthony Liguori
Gerd Hoffmann wrote: Hi, Framebuffer is an interesting one. Virtio doesn't assume shared memory, so naively the fb you would just send outbufs describing changed memory. This would work, but describing rectangles is better. A helper might be the right approach here Rectangles work just fi

Re: [Xen-devel] Re: More virtio users

2007-06-11 Thread Avi Kivity
Gerd Hoffmann wrote: Hi, Framebuffer is an interesting one. Virtio doesn't assume shared memory, so naively the fb you would just send outbufs describing changed memory. This would work, but describing rectangles is better. A helper might be the right approach here Rectangles work just fi

Re: [Xen-devel] Re: More virtio users

2007-06-11 Thread Gerd Hoffmann
Hi, Framebuffer is an interesting one. Virtio doesn't assume shared memory, so naively the fb you would just send outbufs describing changed memory. This would work, but describing rectangles is better. A helper might be the right approach here Rectangles work just fine for a framebuffer c