1
我想開始我的VM 2個爲Virtio接口作爲虛擬主機的用戶界面如何配置/只的libvirt和虛擬主機用戶
以下啓動VM是我的域名XML的相關部分
<interface type='vhostuser'>
<mac address='52:54:00:c7:ac:38'/>
<source type='unix' path='/tmp/vhost1.sock' mode='server'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</interface>
<interface type='vhostuser'>
<mac address='52:54:00:9d:ea:73'/>
<source type='unix' path='/tmp/vhost2.sock' mode='server'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
</interface>"`
當我執行virsh start domain_name command
它開始就變成了暫停。日誌顯示它卡在
n-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
QEMU waiting for connection on: disconnected:unix:/tmp/vhost1.sock,server
有什麼我失蹤?
一些信息
編譯針對庫:libvirt的1.2.18
使用庫:libvirt的1.2.18
使用API:QEMU 1.2.18
運行管理程序:QEMU 2.4.1
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