[libvirt-users] libvirt hang on domain attemp to create domain

Александр sss at sss.chaoslab.ru
Tue Jun 18 05:14:07 UTC 2013


good day, i am trying to create domain via virDomainDefineXML. and my program 
hanging, also i failed to caonnect to libvirt daemon with virt-manager after 
this, only killing libvirtd via SIGKILL and restarting it solveing hang (i 
mean after restart i able to connect with virt-manager), i using following 
domain xml

<?xml version="1.0" encoding="UTF-8"?>
<domain type="kvm">
  <tittle>Automatically created domain with default configuration</tittle>
  <name>vm1</name>
  <description>no description</description>
  <os>
    <type>hvm</type>
    <boot dev="cdrom"/>
    <boot dev="hd"/>
  </os>
  <vcpu>1</vcpu>
  <memory unit="MB">512</memory>
  <cpu model="host-model">
    <topology sockets="1" cores="1" threads="1"/>
  </cpu>
  <clock offset="localtime"/>
  <devices>
    <graphics type="vnc" autoport="yes" password="admin"/>
    <channel type="unix">
      <source mode="bind" path="/var/run/vm1.sock"/>
      <target type="virtio" name="org.guest_agent.0"/>
    </channel>
  </devices>
</domain>

i have this calls on stack

0  0x00007ffff48c1750  __poll_nocancel    
1  0x00007ffff649e5ca  virNetClientIOEventLoop    
2  0x00007ffff649ed96  virNetClientSendInternal    
3  0x00007ffff64a0443  virNetClientSendWithReply    
4  0x00007ffff64a0daa  virNetClientProgramCall    
5  0x00007ffff6478566  callFull.isra.2    
6  0x00007ffff6487fa2  remoteDomainDefineXML    
7  0x00007ffff6449d2f  virDomainDefineXML    
8  0x0000000000426941  virt_domain::create  
/home/sss/install/git/work/avirt/vm_pool/vm_pool/libvirt.cpp  295
9  0x000000000040c1a9  main  
/home/sss/install/git/work/avirt/vm_pool/vm_pool/main.cpp  40

what i am doing wrong ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130618/39e0707d/attachment.sig>


More information about the libvirt-users mailing list