Hi, buddy,<br>I want to create a virtual device attachment to backend.<br>The domain is running, and my code  phase is as below:<br><br><font size="4"><span style="color: rgb(0, 0, 0);">xmlConfiguration    = "<devices><sound model='es1370'/></devices>";</span><br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">virDomainAttachDevice(dom,xmlConfiguration);</span></font><br><br>But the exception <span style="color: rgb(204, 0, 0);">"libvir: Domain Config error : XML error: unknown device type "</span> happen when running.<br>
Is it something wrong in the XML configuration? What should i do to deal with such <span style="color: rgb(204, 0, 0);">Config error <span style="color: rgb(0, 0, 0);">?<br><br>ps: the hypervisor is KVM.<br></span></span>