<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=gb2312"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:等线;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:微软雅黑;
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@等线";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@微软雅黑";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:等线;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:21.0pt;
        font-size:10.5pt;
        font-family:等线;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:等线;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:等线;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1890258981;
        mso-list-type:hybrid;
        mso-list-template-ids:-760595246 -1011057850 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%2\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:42.0pt;
        text-indent:-21.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:63.0pt;
        text-indent:-21.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:84.0pt;
        text-indent:-21.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%5\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:105.0pt;
        text-indent:-21.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:126.0pt;
        text-indent:-21.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:147.0pt;
        text-indent:-21.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%8\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:168.0pt;
        text-indent:-21.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:189.0pt;
        text-indent:-21.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link="#0563C1" vlink="#954F72" style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>Dear libvirt experts</span>,<span lang=EN-US style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal style='text-indent:21.0pt'><span lang=EN-US style='font-family:"Times New Roman",serif'>I have add some patch as follow.this two patch add buffer size to avoid to produce “nl_recv returned with error:No buffer space available”<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US style='font-family:"Times New Roman",serif'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>     </span></span></span><![endif]><span lang=EN-US style='font-family:"Times New Roman",serif'>libvirt-nodedev-Increase-the-netlink-socket-buffer-size-to-t.patch<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US style='font-family:"Times New Roman",serif'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>     </span></span></span><![endif]><span lang=EN-US style='font-family:"Times New Roman",serif'>libvirt-util-increase-libnl-buffer-size.patch<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>but as I set some configuration in /etc/libvirt/libvitd.conf as follows<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'># Logging level: 4 errors, 3 warnings, 2 information, 1 debug<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>log_level =2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'># Multiple outputs can be defined, they just need to be separated by spaces.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'># e.g. to log all warnings and errors to syslog under the libvirtd ident:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>log_outputs="2:syslog:libvirtd"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>when I input “udevadm trigger” command<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>[root@localhost ~]# vi /etc/libvirt/libvirtd.conf<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>[root@localhost ~]# systemctl restart libvirtd<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>[root@localhost ~]# udevadm trigger<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>[root@localhost ~]# udevadm trigger<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>[root@localhost ~]# udevadm trigger<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>[root@localhost ~]#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>then will produce “nl_recv returned with error:No buffer space available”<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>[root@localhost ~]# tail -f /var/log/messages | grep buffer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>Sep  2 22:44:00 localhost libvirtd: 4004: error : virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space available<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>Sep  2 23:11:33 localhost libvirtd: 4004: error : virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space available<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>Sep  2 23:11:45 localhost libvirtd: 4004: error : virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space available<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>So my question is:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>When input “udevadm trigger” in terminal, if setting log_level and log_outputs="2:syslog:libvirtd",how to avoid to produce “error virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space available” log information?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>I am looking forward to your reply.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span lang=EN-US style='font-family:"Times New Roman",serif'><hr size=3 width="100%" align=center></span></div><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>Jidong Xia<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman",serif'>China Mobile (Suzhou) Software Technology Company.cloud computing product department<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman",serif;color:black;background:white'>Tel: (+86) 18896726087</span><span lang=EN-US style='font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman",serif;color:black;background:white'>E-Mail</span><span style='font-size:10.0pt;font-family:"微软雅黑",sans-serif;color:black;background:white'>:</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman",serif;color:black;background:white'><a href="mailto:xiajidong@cmss.chinamobile.com">xiajidong@cmss.chinamobile.com</a></span><span lang=EN-US style='font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>