qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] How to management KVM virtual machines via libvirt?
@ 2012-06-16 11:00 GaoYi
  2012-06-16 12:00 ` 陳韋任 (Wei-Ren Chen)
  0 siblings, 1 reply; 3+ messages in thread
From: GaoYi @ 2012-06-16 11:00 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

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,

Yi

[-- Attachment #2: Type: text/html, Size: 301 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] How to management KVM virtual machines via libvirt?
  2012-06-16 11:00 [Qemu-devel] How to management KVM virtual machines via libvirt? GaoYi
@ 2012-06-16 12:00 ` 陳韋任 (Wei-Ren Chen)
  2012-06-18  8:40   ` Daniel P. Berrange
  0 siblings, 1 reply; 3+ messages in thread
From: 陳韋任 (Wei-Ren Chen) @ 2012-06-16 12:00 UTC (permalink / raw)
  To: GaoYi; +Cc: libvirt-users, qemu-devel

  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] How to management KVM virtual machines via libvirt?
  2012-06-16 12:00 ` 陳韋任 (Wei-Ren Chen)
@ 2012-06-18  8:40   ` Daniel P. Berrange
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel P. Berrange @ 2012-06-18  8:40 UTC (permalink / raw)
  To: 陳韋任 (Wei-Ren Chen); +Cc: libvirt-users, GaoYi, qemu-devel

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.html

There 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 :|

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-18  8:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-16 11:00 [Qemu-devel] How to management KVM virtual machines via libvirt? GaoYi
2012-06-16 12:00 ` 陳韋任 (Wei-Ren Chen)
2012-06-18  8:40   ` Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).