<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px"><div id="yiv4570410066"><div id="yui_3_16_0_1_1446552290569_11026"><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);" id="yui_3_16_0_1_1446552290569_11025" dir="ltr"><div id="yiv4570410066yui_3_16_0_1_1446552290569_10044" style="color: rgb(0, 0, 0);">hi  all</div><div id="yiv4570410066yui_3_16_0_1_1446552290569_10044" style="color: rgb(0, 0, 0);"><br></div><div id="yiv4570410066yui_3_16_0_1_1446552290569_10044" dir="ltr" style="color: rgb(0, 0, 0);">i am a kvm , qemu  user newbie , i am  using libvirt and virsh to mange my KVM VMs , i want to  limit the network bandwidth of each VM , i come across libvirt  xml format option :</div><div id="yiv4570410066yui_3_16_0_1_1446552290569_10044" dir="ltr" style="color: rgb(0, 0, 0);"><br></div><div id="yiv4570410066yui_3_16_0_1_1446552290569_10044" dir="ltr" style="color: rgb(0, 0, 0);"><pre id="yiv4570410066yui_3_16_0_1_1446552290569_10140" class="" style="border: 1px solid rgb(153, 153, 153); border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; padding: 1em; background-image: initial; background-attachment: initial; background-color: rgb(238, 238, 238); background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><forward mode='nat' dev='eth0'/>
  <b id="yiv4570410066yui_3_16_0_1_1446552290569_10142" class=""><bandwidth>
    <inbound average='1000' peak='5000' burst='5120'/>
    <outbound average='128' peak='256' burst='256'/>
  </bandwidth></b></pre></div><div id="yiv4570410066yui_3_16_0_1_1446552290569_10044" dir="ltr" style="color: rgb(0, 0, 0);">to limit the bandwidth of each vm , however i have a question how does these option applied limit on  kvm vm ?  through using of linux cgroub or its a qemu network bandwidth  limit functionality ?  </div></div></div></div></div></body></html>