how to configure/start vm with just libvirt and vhost-user
<p>I am trying to start my VM with 2 Virtio interfaces as a vhost-user interface</p>

<p>Following is the relevant section of my domain xml </p>

<pre><code>&lt;interface type='vhostuser'&gt;
  &lt;mac address='52:54:00:c7:ac:38'/&gt;
  &lt;source type='unix' path='/tmp/vhost1.sock' mode='server'/&gt;
  &lt;model type='virtio'/&gt;
  &lt;address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/&gt;
&lt;/interface&gt;
&lt;interface type='vhostuser'&gt;
  &lt;mac address='52:54:00:9d:ea:73'/&gt;
  &lt;source type='unix' path='/tmp/vhost2.sock' mode='server'/&gt;
  &lt;model type='virtio'/&gt;
  &lt;address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/&gt;
&lt;/interface&gt;"`
</code></pre>

<p>When I execute <code>virsh start domain_name command</code></p>

<p>it starts then becomes paused. The log shows it's stuck at </p>

<pre><code>n-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
QEMU waiting for connection on: disconnected:unix:/tmp/vhost1.sock,server
</code></pre>

<p>Is there anything I am missing?</p>

<blockquote>
  <p>some info</p>
</blockquote>

<p>Compiled against library: libvirt 1.2.18</p>

<p>Using library: libvirt 1.2.18</p>

<p>Using API: QEMU 1.2.18</p>

<p>Running hypervisor: QEMU 2.4.1</p>

<pre><code>hugetlbfs /dev/hugepages hugetlbfs rw,seclabel,relatime 0 0

HugePages_Total:      10
HugePages_Free:       10
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:    1048576 kB


# ls -lar /tmp/*
srwxrwxrwx. 1 qemu qemu 0 Apr 28 14:02 /tmp/vhost1.sock
</code></pre>