Re: [PATCH] admin: Fix the default uri for session daemon to libvirtd:///session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29.07.2016 14:08, Daniel P. Berrange wrote:
> On Fri, Jul 29, 2016 at 02:06:00PM +0200, Erik Skultety wrote:
>> Just like we decide on which URI we go with based on EUID for qemu in remote
>> driver, do a similar thing for admin except we do not spawn a daemon in this
>> case.
> 
> IMHO we should auto-spawn the daemon too, so we have consistent
> behaviour virsh virsh.
> 

I don't think this is a good idea. The session daemon dies after 30
seconds after last connection was closed. There's no point in setting
something via admin API just to find it back on defaults after 1 minute
because new daemon has been spawned. It's not like our domain APIs where
libvirt refreshes the internal state of drivers upon their init.

Michal

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]