[libvirt-users] 答复: 'virsh list' issue

wangsuyi640 wangsuyi640 at gmail.com
Thu Mar 8 14:20:19 UTC 2012


Thanks for your help.

However, how can I make the VM visible to libvirt of that kind.? Even with
third party tools?


Yours Sinerely!
suyi



-----邮件原件-----
发件人: Eric Blake [mailto:eblake at redhat.com] 
发送时间: 2012年3月8日 21:21
收件人: wangsuyi640
抄送: libvirt-users at redhat.com
主题: Re: [libvirt-users] 'virsh list' issue

On 03/08/2012 06:15 AM, wangsuyi640 wrote:
> Dear all:
> 
>     Afer run the command  'qemu-kvm -hda /root/free.img -m 512 
> -usbdevice tablet -vga qxl -spice port=5930,disable-ticketing' , and 
> the VM starts

> 
> there is no VM running! I am puzzled , can someone help me? 

Running a VM directly via qemu-kvm makes the VM invisible to libvirt, unless
you first run 'virsh qemu-attach'.  There are certain restrictions for this
to work, such as having a socket-based monitor on the guest.  'virsh list'
can only list VMs known to libvirt.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org






More information about the libvirt-users mailing list