Re: [kvm-devel] [PATCH 6/6] virtio ring helper

2007-09-23 Thread Avi Kivity
Rusty Russell wrote: > On Sun, 2007-09-23 at 12:05 +0200, Avi Kivity wrote: > >> Rusty Russell wrote: >> >>> On Thu, 2007-09-20 at 14:43 +0200, Avi Kivity wrote: >>> 32 bits of page numbers give 44 bits of physical address on x86. That's 16TB per guest. Admittedly it's

Re: [kvm-devel] [PATCH 6/6] virtio ring helper

2007-09-23 Thread Rusty Russell
On Sun, 2007-09-23 at 12:05 +0200, Avi Kivity wrote: > Rusty Russell wrote: > > On Thu, 2007-09-20 at 14:43 +0200, Avi Kivity wrote: > >> 32 bits of page numbers give 44 bits of physical address on x86. That's > >> 16TB per guest. Admittedly it's smaller on a VAX. > > > > I like to feel that I

Re: [kvm-devel] [PATCH 6/6] virtio ring helper

2007-09-23 Thread Avi Kivity
Rusty Russell wrote: > On Thu, 2007-09-20 at 14:43 +0200, Avi Kivity wrote: > >> Rusty Russell wrote: >> >>> These helper routines supply most of the virtqueue_ops for hypervisors >>> which want to use a ring for virtio. Unlike the previous lguest >>> implementation: >>> >>> 3) The page nu

Re: [kvm-devel] [PATCH 6/6] virtio ring helper

2007-09-21 Thread Rusty Russell
On Thu, 2007-09-20 at 14:43 +0200, Avi Kivity wrote: > Rusty Russell wrote: > > These helper routines supply most of the virtqueue_ops for hypervisors > > which want to use a ring for virtio. Unlike the previous lguest > > implementation: > > > > 3) The page numbers are always 64 bit (PAE anyone?)

Re: [kvm-devel] [PATCH 6/6] virtio ring helper

2007-09-20 Thread Avi Kivity
Rusty Russell wrote: > These helper routines supply most of the virtqueue_ops for hypervisors > which want to use a ring for virtio. Unlike the previous lguest > implementation: > > 3) The page numbers are always 64 bit (PAE anyone?) > 32 bits of page numbers give 44 bits of physical address o

[kvm-devel] [PATCH 6/6] virtio ring helper

2007-09-20 Thread Rusty Russell
These helper routines supply most of the virtqueue_ops for hypervisors which want to use a ring for virtio. Unlike the previous lguest implementation: 1) The rings are variable sized (2^n-1 elements). 2) They have an unfortunate limit of 65535 bytes per sg element. 3) The page numbers are always