qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Guest bandwidth setting


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Guest bandwidth setting
Date: Wed, 23 Apr 2014 14:27:23 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Mar 30, 2014 at 02:35:01PM +0200, Pradeep Kiruvale wrote:
>  I am implementing some functionality where in I need to set the bandwidth
> control for my guest vms.Please let me know how can I do it.
> 
>  I am looking into net/net.c file,I dint find any leads.I tried two ways.
> 
>  I am trying to find how to set virtual nics(in my case e1000) speed,I did
> not find any ways to do that.
> 
>  If I devide the packet into smaller packets in  qemu_deliver_packet()
> function
> I am not able to transfer the other half of the packet.
> 
> Please let me know how can I resolve this.

The simplest way is to use libvirt's network Quality-of-Service
features.  You can specify bandwidth limits:
http://libvirt.org/formatdomain.html#elementQoS

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]