Re: More virtio users

2007-06-11 Thread Jens Axboe
On Tue, Jun 12 2007, Rusty Russell wrote: > On Mon, 2007-06-11 at 09:33 +0200, Jens Axboe wrote: > > On Mon, Jun 11 2007, Rusty Russell wrote: > > > So the problem is that I'd like to handle all of them, but I'm not clear > > > what requests my device can get. I can't see a source of any other typ

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: More virtio users

2007-06-11 Thread Rusty Russell
On Mon, 2007-06-11 at 09:33 +0200, Jens Axboe wrote: > On Mon, Jun 11 2007, Rusty Russell wrote: > > So the problem is that I'd like to handle all of them, but I'm not clear > > what requests my device can get. I can't see a source of any other type > > of request. > > The other main request type

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: [patch 4/9] lguest: the asm offsets

2007-06-11 Thread Sam Ravnborg
On Mon, Jun 11, 2007 at 02:49:32PM +0200, Oleg Verych wrote: > * Date: Thu, 10 May 2007 10:09:39 +1000 > > > > On Wed, 2007-05-09 at 22:46 +0200, Sam Ravnborg wrote: > >> On Wed, May 09, 2007 at 02:51:36AM -0700, [EMAIL PROTECTED] wrote: > >> > From: Rusty Russell <[EMAIL PROTECTED]> > >> > > >> >

Re: [patch 4/9] lguest: the asm offsets

2007-06-11 Thread Oleg Verych
* Date: Thu, 10 May 2007 10:09:39 +1000 > > On Wed, 2007-05-09 at 22:46 +0200, Sam Ravnborg wrote: >> On Wed, May 09, 2007 at 02:51:36AM -0700, [EMAIL PROTECTED] wrote: >> > From: Rusty Russell <[EMAIL PROTECTED]> >> > >> > This is the structure offsets required by lg.ko's switcher.S. >> > >> > U

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

Re: More virtio users

2007-06-11 Thread Jens Axboe
On Mon, Jun 11 2007, Rusty Russell wrote: > On Mon, 2007-06-11 at 08:41 +0200, Jens Axboe wrote: > > On Sun, Jun 10 2007, Rusty Russell wrote: > > > On Sun, 2007-06-10 at 11:16 +0300, Avi Kivity wrote: > > > > Rusty Russell wrote: > > > > > Lguest doesn't have a framebuffer, so maybe this is a good

Re: More virtio users

2007-06-11 Thread Rusty Russell
On Mon, 2007-06-11 at 08:41 +0200, Jens Axboe wrote: > On Sun, Jun 10 2007, Rusty Russell wrote: > > On Sun, 2007-06-10 at 11:16 +0300, Avi Kivity wrote: > > > Rusty Russell wrote: > > > > Lguest doesn't have a framebuffer, so maybe this is a good thing for me > > > > to hack on, but I promised mys