陳韋任 (Wei-Ren Chen)
2012-Jun-16 12:00 UTC
[libvirt-users] [Qemu-devel] How to management KVM virtual machines via libvirt?
CC'ed to libvirt-users. On Sat, Jun 16, 2012 at 07:00:59PM +0800, GaoYi wrote:> Hi all, > ? > ?? I am trying to management the VMs created by KVM commandline. However, I > found the libvirt cannot connect to the VMs or manage it from virsh. Can > anybody provide any help? > ?? Best,Shouldn't this go to libvirt mailing list? http://libvirt.org/contact.html Regards, chenwj -- Wei-Ren Chen (???) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
Daniel P. Berrange
2012-Jun-18 08:40 UTC
[libvirt-users] [Qemu-devel] How to management KVM virtual machines via libvirt?
On Sat, Jun 16, 2012 at 08:00:00PM +0800, ??? (Wei-Ren Chen) wrote:> CC'ed to libvirt-users. > > On Sat, Jun 16, 2012 at 07:00:59PM +0800, GaoYi wrote: > > Hi all, > > ? > > ?? I am trying to management the VMs created by KVM commandline. However, I > > found the libvirt cannot connect to the VMs or manage it from virsh. Can > > anybody provide any help? > > ?? Best, > > Shouldn't this go to libvirt mailing list? > > http://libvirt.org/contact.htmlThere is a way to tell libvirt to attach to an externally launched KVM process, provided you have configured it with a monitor socket using the UNIX protocol. This is not always entirely successful though, due to the sheer number of different ways QEMU can be launched, which libvirt does not always understand: http://berrange.com/posts/2011/07/13/attaching-libvirt-to-an-externally-launched-kvm-instance/ In the long run, I'd really recommend just launch the guests via libvirt in the first place Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|