<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi all£¬</div><div>    I try to use gdb to debug libvirt's source code, but when I tend to create a domain with xml, it shows "error: internal error Network 'default' is not active", so I use the net-related commands as below.</div><div>"</div><div>virsh # net-start default</div><div>error: Failed to start network default</div><div>error: Cannot open network interface control socket: Operation not permitted</div><div>"</div><div><br></div><div>Then I check my URI, which is "qemu:///session", because adding "sudo virsh". I try to change URI to "qemu:///system" by clicking "virsh # connect qemu:///system". The following logs shown below:</div><div><div>virsh # connect qemu:///system</div><div>error: Failed to connect to the hypervisor</div><div>error: Failed to connect socket to '/usr/local/libvirt/var/run/libvirt/libvirt-sock': No such file or directory</div></div><div><br></div><div><br></div><div>Could you please tell me the reason? </div><div><br></div><div>Thanks a lot!</div><div><br></div><div>Corey</div><div><br></div><div><br></div>                                       </div></body>
</html>