Re: Fwd: KVM : Virtio ring size

2015-08-10 Thread Stefan Hajnoczi
On Fri, Aug 07, 2015 at 10:48:50AM +0530, sai kiran wrote:
 I am experimenting on Virtio-net frontend driver. And I observe that
 the virtio ring size is communicated to guest as 256.
 I tried changing backend-qemu code manually, to propagate 512 ring size.
 
 But other than changing code and hardcoding, Is there anyway to
 configure the virtio ring size.

The ring size is hardcoded in the host.

If ring size is a problem, first check that the indirect vring feature
is enabled.  It allows each packet to take just 1 (indirect) descriptor
in the virtqueue.

Stefan


pgpMspK3_7oK7.pgp
Description: PGP signature


Fwd: KVM : Virtio ring size

2015-08-06 Thread sai kiran
Hi,

I am experimenting on Virtio-net frontend driver. And I observe that
the virtio ring size is communicated to guest as 256.
I tried changing backend-qemu code manually, to propagate 512 ring size.

But other than changing code and hardcoding, Is there anyway to
configure the virtio ring size.


Thanks  Regards,
VSK
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html