1. 23 2月, 2020 9 次提交
  2. 21 2月, 2020 1 次提交
  3. 07 2月, 2020 1 次提交
  4. 06 2月, 2020 2 次提交
  5. 04 2月, 2020 4 次提交
  6. 03 2月, 2020 3 次提交
  7. 02 2月, 2020 3 次提交
  8. 30 1月, 2020 1 次提交
  9. 29 1月, 2020 1 次提交
  10. 27 1月, 2020 1 次提交
    • D
      libvirt: pass a directory path into drivers for embedded usage · 207709a0
      Daniel P. Berrangé 提交于
      The intent here is to allow the virt drivers to be run directly embedded
      in an arbitrary process without interfering with libvirtd. To achieve
      this they need to store all their configuration & state in a separate
      directory tree from the main system or session libvirtd instances.
      
      This can be useful for doing testing of the virt drivers in "make check"
      without interfering with the user's own libvirtd instances.
      
      It can also be used for applications using KVM/QEMU as a piece of
      infrastructure to build an service, rather than for general purpose
      OS hosting. A long standing example is libguestfs, which would prefer
      if its temporary VMs did show up in the main libvirtd VM list, because
      this confuses apps such as OpenStack Nova. A more recent example would
      be Kata which is using KVM as a technology to build containers.
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      207709a0
  11. 23 1月, 2020 1 次提交
  12. 17 1月, 2020 1 次提交
    • D
      util: replace atomic ops impls with g_atomic_int* · 7b9645a7
      Daniel P. Berrangé 提交于
      Libvirt's original atomic ops impls were largely copied
      from GLib's code at the time. The only API difference
      was that libvirt's virAtomicIntInc() would return a
      value, but g_atomic_int_inc was void. We thus use
      g_atomic_int_add(v, 1) instead, though this means
      virAtomicIntInc() now returns the original value,
      instead of the new value.
      
      This rewrites libvirt's impl in terms of g_atomic_int*
      as a short term conversion. The key motivation was to
      quickly eliminate use of GNULIB's verify_expr() macro
      which is not a direct match for G_STATIC_ASSERT_EXPR.
      Long term all the callers should be updated to use
      g_atomic_int* directly.
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      7b9645a7
  13. 16 1月, 2020 1 次提交
  14. 08 1月, 2020 1 次提交
  15. 07 1月, 2020 1 次提交
  16. 17 12月, 2019 1 次提交
  17. 16 12月, 2019 1 次提交
    • M
      configure: Provide OpenRC scripts for sub-daemons · 49c6fe62
      Michal Privoznik 提交于
      There is plenty of distributions that haven't switched to
      systemd nor they force their users to (Gentoo, Alpine Linux to
      name a few). With the daemon split merged their only option is to
      still use the monolithic daemon which will go away eventually.
      Provide init scripts for these distros too.
      
      For now, I'm not introducing config files which would correspond
      to the init files except for libvirtd and virtproxyd init scripts
      where it might be desirable to tweak the command line of
      corresponding daemons.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      49c6fe62
  18. 12 12月, 2019 1 次提交
  19. 10 12月, 2019 1 次提交
  20. 09 12月, 2019 5 次提交