1. 20 4月, 2016 1 次提交
  2. 18 4月, 2016 1 次提交
  3. 16 4月, 2016 1 次提交
    • J
      tools: Fix memory leak · cb31d618
      John Ferlan 提交于
      Coverity found that commit id 'c661b675' needed to create a cleanup
      path to handle the closing of 'fp' if the virBitmapNewQuiet failed.
      cb31d618
  4. 15 4月, 2016 4 次提交
  5. 14 4月, 2016 2 次提交
  6. 13 4月, 2016 4 次提交
  7. 11 4月, 2016 1 次提交
  8. 09 4月, 2016 1 次提交
    • R
      nss: properly include syms files to dist · ec5b9331
      Roman Bogorodskiy 提交于
      Explicitly add Linux and BSD syms files for nss to EXTRA_DIST
      instead of using the LIBVIRT_NSS_SYMBOL_FILE variable, because its value
      will point to either Linux or BSD syms file, but we need to ship both.
      ec5b9331
  9. 08 4月, 2016 1 次提交
    • A
      host-validate: Be more careful when checking for cgroup mounts · f854c559
      Andrea Bolognani 提交于
      The existing code is built on the assumption that no cgroup
      name can appear as part of another cgroup name; moreover, cgroups
      are expected to always be listed in a specific order.
      
      If that's not the case, eg. 'cpuacct' is listed before 'cpu', the
      algorithm fails to detect the cgroup mount point.
      
      Rewrite it to get rid of such assumptions.
      f854c559
  10. 07 4月, 2016 1 次提交
    • A
      host-validate: Improve CPU flags processing · c661b675
      Andrea Bolognani 提交于
      Instead of relying on substring search, tokenize the input
      and process each CPU flag separately. This ensures CPU flag
      detection will continue to work correctly even if we start
      looking for CPU flags whose name might appear as part of
      other CPU flags' names.
      
      The result of processing is stored in a virBitmap, which
      means we don't have to parse /proc/cpuinfo in its entirety
      for each single CPU flag we want to check.
      
      Moreover, use of the newly-introduced virHostValidateCPUFlag
      enumeration ensures we don't go looking for random CPU flags
      which might actually be simple typos.
      c661b675
  11. 06 4月, 2016 3 次提交
  12. 01 4月, 2016 1 次提交
  13. 31 3月, 2016 4 次提交
  14. 30 3月, 2016 2 次提交
    • A
      host-validate: Fix suggestion for missing cpu cgroup · 53d3874c
      Andrea Bolognani 提交于
      If the cpu cgroup is not found when validating an host for
      LXC support, virt-host-validate will suggest to enable the
      CONFIG_CGROUP_SCHED kconfig option.
      
      The appropriate option is really CONFIG_CGROUP_CPU. The
      QEMU checks already get that right, so no changes needed.
      53d3874c
    • R
      nss: FreeBSD support · 45408cd8
      Roman Bogorodskiy 提交于
       * tools/nss/libvirt_nss.[ch]: add BSD-comptabile wrappers and
         register via the nss_module_register() interface
       * m4/virt-nss.m4: add checks if we're building NSS for FreeBSD
       * tools/Makefile.am: handle target library name differences, as
         Linux needs libnss_libvirt.so.2 and FreeBSD needs
         nss_libvirt.so.1. Also, different syms files have to be used
         as Linux needs to export all the methods while FreeBSD
         only needs to have nss_module_register()
       * tests/nsstest.c, tests/nssmock.c: s/__linux__/NSS/
       * tests/nssmock.c: pass int instead of mode_t to va_arg() to please
         gcc 4.8
       * libvirt_nss_bsd.syms: FreeBSD syms file
      45408cd8
  15. 29 3月, 2016 9 次提交
  16. 22 3月, 2016 1 次提交
  17. 21 3月, 2016 3 次提交