[libvirt-users] 'virsh list' issue

Eric Blake eblake at redhat.com
Thu Mar 8 13:21:05 UTC 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120308/41972db9/attachment.sig>


More information about the libvirt-users mailing list