Re: Make virtio vq size configurable by a guest.

2011-06-22 Thread Gleb Natapov
On Tue, Jun 21, 2011 at 11:32:04AM +0930, Rusty Russell wrote: On Mon, 20 Jun 2011 16:16:24 +0300, Gleb Natapov g...@redhat.com wrote: Hi, Currently in virtio host dictates the size and layout of vq that should be used. To talk to a device that has one vq with 128 elements guest needs

Re: Make virtio vq size configurable by a guest.

2011-06-22 Thread Rusty Russell
On Wed, 22 Jun 2011 13:21:23 +0300, Gleb Natapov g...@redhat.com wrote: On Tue, Jun 21, 2011 at 11:32:04AM +0930, Rusty Russell wrote: On Mon, 20 Jun 2011 16:16:24 +0300, Gleb Natapov g...@redhat.com wrote: Hi, Currently in virtio host dictates the size and layout of vq that should

Re: Make virtio vq size configurable by a guest.

2011-06-21 Thread Rusty Russell
On Mon, 20 Jun 2011 16:16:24 +0300, Gleb Natapov g...@redhat.com wrote: Hi, Currently in virtio host dictates the size and layout of vq that should be used. To talk to a device that has one vq with 128 elements guest needs to allocate at least 2 pages. Usually this is not a problem, but

Make virtio vq size configurable by a guest.

2011-06-20 Thread Gleb Natapov
Hi, Currently in virtio host dictates the size and layout of vq that should be used. To talk to a device that has one vq with 128 elements guest needs to allocate at least 2 pages. Usually this is not a problem, but sometimes guest runs in a resource restricted environment and then it may not