Re: [libvirt] Libvirtd needs to be always running/

2008-09-04 Thread Stefan de Konink
On Wed, 3 Sep 2008, Yushu Yao wrote:

 It seems that libvirtd has to run with root, is this true?

To make itself useful it should be root yes.

 But why does libvirtd need to run for QEMU? If it's for start/stop/pause vm,
 is Qemu's command line tool not enough?

I presume it works by keeping reference to the domain, and is not able to
manipulate the domain if it does not own it... but this is a guess :)


Stefan

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Libvirtd needs to be always running/

2008-09-03 Thread Atsushi SAKAI
Hi, Yao

  You should differenciate Qemu and Xen(zen).
  
  For QEMU, libvirtd need to run always.
For Xen,  it does not requrired to run for local machine. and required to run 
for remote machine.

Thanks
Atsushi SAKAI


Yushu Yao [EMAIL PROTECTED] wrote:

 Hi All,
 
 A newbie question:
 Does the libvirtd need to be running all the time if I want to use any
 functions of libvirt (as simple as start/stop/pause my virtual machines
 (qemu/zen)). Or is it only try if I use the remote functions or virsh.
 
 Thanks,
 -Yushu
 
 
 --
 Libvir-list mailing list
 Libvir-list@redhat.com
 https://www.redhat.com/mailman/listinfo/libvir-list


--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Libvirtd needs to be always running/

2008-09-03 Thread Yushu Yao
Thanks Atsushi and Stefan,

It seems that libvirtd has to run with root, is this true?

But why does libvirtd need to run for QEMU? If it's for start/stop/pause vm,
is Qemu's command line tool not enough?

Thanks!

-Yushu



On 9/3/08 6:08 PM, Stefan de Konink [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Atsushi SAKAI schreef:
   You should differenciate Qemu and Xen(zen).
   
   For QEMU, libvirtd need to run always.
 For Xen,  it does not requrired to run for local machine. and required to run
 for remote machine.
 
 
 Some people still have their hopes that libvirtd will do the same for
 Xen in the near future :)
 
 
 Stefan
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEUEARECAAYFAki/NP8ACgkQYH1+F2Rqwn32awCXdiNGVwZWj3dEA526BZDOM2Zh
 qwCeOGf7fQmG9pzG7tKKuuL7ZzMT18c=
 =+umj
 -END PGP SIGNATURE-


--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Libvirtd needs to be always running/

2008-09-03 Thread Atsushi SAKAI
Yushu Yao [EMAIL PROTECTED] wrote:

 Thanks Atsushi and Stefan,
 
 It seems that libvirtd has to run with root, is this true?
Yes

 
 But why does libvirtd need to run for QEMU? If it's for start/stop/pause vm,
 is Qemu's command line tool not enough?

Please see follows
https://www.redhat.com/archives/libvir-list/2008-September/msg5.html

 
 Thanks!
 
 -Yushu
 
 
 
 On 9/3/08 6:08 PM, Stefan de Konink [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Atsushi SAKAI schreef:
You should differenciate Qemu and Xen(zen).

For QEMU, libvirtd need to run always.
  For Xen,  it does not requrired to run for local machine. and required to 
  run
  for remote machine.
  
  
  Some people still have their hopes that libvirtd will do the same for
  Xen in the near future :)
  
  
  Stefan
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v2.0.9 (GNU/Linux)
  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
  
  iEUEARECAAYFAki/NP8ACgkQYH1+F2Rqwn32awCXdiNGVwZWj3dEA526BZDOM2Zh
  qwCeOGf7fQmG9pzG7tKKuuL7ZzMT18c=
  =+umj
  -END PGP SIGNATURE-
 
 


--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list