[libvirt] [PATCH 3/5] lib: autostart objects exactly once

Daniel P. Berrangé berrange at redhat.com
Tue Oct 8 14:13:59 UTC 2019


On Mon, Oct 07, 2019 at 11:11:21AM +0200, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1755303
> 
> With the recent work in daemon split and socket activation
> daemons can come and go. They can and will be started many times
> during a session which results in objects being autostarted
> multiple times. This is not optimal. Use
> virDriverShouldAutostart() to determine if autostart should be
> done or not.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/bhyve/bhyve_driver.c     |  8 +++++++-
>  src/libxl/libxl_driver.c     | 12 +++++++++---
>  src/lxc/lxc_driver.c         |  7 ++++++-
>  src/network/bridge_driver.c  | 12 +++++++++---
>  src/qemu/qemu_driver.c       |  7 ++++++-
>  src/storage/storage_driver.c |  7 ++++++-
>  6 files changed, 43 insertions(+), 10 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list