<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi all, </div><div><br></div><div><div>When I created a virtual machine using virDomainCreateXML, with virtualport type was openvswitch, and virtual machine creation failed. The error message is:</div><div>internal error: Child process (/sbin/tc filter add dev vnet110 parent ffff: protocol all u32 match u32 0 0 police rate 0kbps burst 0kb mtu 64kb drop flowid :1) unexpected exit status 2: RTNETLINK answers: Invalid argument</div><div><br></div><div><span style="font-family: Arial, Helvetica, sans-serif;">The Domain XML file the </span><code class="docutils literal" style="font-weight: 700;"><interface></code><span style="font-family: Arial, Helvetica, sans-serif;"> section like this:</span></div><div><img src="http://mail.126.com/js6/s?func=mbox:getMessageData&sid=*&mid=15:1tbiDxHWq1pD4iVgRAAAsZ&part=3" orgwidth="581" orgheight="148" data-image="1" style="border: none; width: 581px; height: 148px;"></div></div><div><br></div><div><div>I looked at the system log and it looked like an ovs port problem.</div><div><img src="http://mail.126.com/js6/s?func=mbox:getMessageData&sid=*&mid=15:1tbiDxHWq1pD4iVgRAAAsZ&part=4" orgwidth="1353" orgheight="140" data-image="1" style="border: none; width: 1353px; height: 140px;"></div></div><div><br></div><div>However, when I use "tc" to manage "vnet*" of an existing virtual machine, it still returns the same error.</div><div><div><span style="background-color: rgb(255, 204, 0);">root@ubuntu-24:~# /sbin/tc filter add dev vnet83 parent ffff: protocol all u32 match u32 0 0 police rate 0kbps burst 0kb mtu 64kb drop flowid :1</span></div><div><span style="background-color: rgb(255, 204, 0);">RTNETLINK answers: Invalid argument</span></div><div><span style="background-color: rgb(255, 204, 0);">We have an error talking to the kernel</span></div></div><div><span style="background-color: rgb(255, 204, 0);"><br></span></div><div><span style="background-color: rgb(255, 204, 0);"><br></span></div><div>Is there any reason for this problem? Thank you very much.</div><div><br></div><div><div><pre style="width: 1076.34px;">Below some information about my machine:</pre></div><div>libvirt version: 3.4.0</div><div>ovs_version: "2.8.90"</div><div>root@ubuntu-24:~# uname -a</div><div>Linux ubuntu-24 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux</div></div></div>