
Hello Michal, I am using the following code - virDomainSetInterfaceParameters(dom, "vnet0", networkParainfoPtr, nparams,0); before calling this i am assigning the following Inbound values inbound.average = 10 (10 kbps) inbound .peak = 10 inbound.burst = 10 Outbound values are zero (default) after calling the API it return success and i am able to see the assigned values in dumpxml of the VM ( so it is cross verified that the values are set ) Now for testing inbound throttling i am using scp command -> i am copying 400MB file from host machine to VM. But what i am onserving is it taking the bandwidth more than 10 kbps ( even it reaches to Mbps sometime) Regards, Vikrant On Mon, May 27, 2013 at 1:59 PM, Michal Privoznik <mprivozn@redhat.com>wrote:
On 27.05.2013 10:25, vikrant verma wrote:
Hello Michal,
Thanks for the reply.
I am using libvirt version 1.0.2 , so how should i proceed. Do i need this patch?
You already are using it. So I wonder what is the actual bandwidth you are using. Can you share the setting and actual bandwidth (scp is just fine - but consider copying bigger files - e.g. 700MB iso image).
Michal