1. 22 2月, 2017 3 次提交
    • P
      spec: Modularize the storage driver · 27c8e36d
      Peter Krempa 提交于
      Create a new set of sub-packages containing the new storage driver
      modules so that certain heavy-weight backends (gluster, rbd) can be
      installed separately only if required.
      
      To keep backward compatibility the 'libvirt-driver-storage' package
      will be turned into a virtual package pulling in all the new storage
      backend sub-packages. The storage driver module will be moved into
      libvirt-driver-storage-core including the filesystem backend which is
      mandatory.
      
      This then allows to make libvirt-daemon-driver-qemu depend only on the
      core of the storage driver.
      
      All other meta-packages still depend on the full storage driver and thus
      pull in all the backends.
      27c8e36d
    • P
      storage: Turn storage backends into dynamic modules · 0a6d3e51
      Peter Krempa 提交于
      If driver modules are enabled turn storage driver backends into
      dynamically loadable objects. This will allow greater modularity for
      binary distributions, where heavyweight dependencies as rbd and gluster
      can be avoided by selecting only a subset of drivers if the rest is not
      necessary.
      
      The storage modules are installed into 'LIBDIR/libvirt/storage-backend/'
      and users can override the location by using
      'LIBVIRT_STORAGE_BACKEND_DIR' environment variable.
      
      rpm based distros will at this point install all the backends when
      libvirt-daemon-driver-storage package is installed.
      0a6d3e51
    • P
      spec: Don't check for storage driver backends in configure script · 4fb105f6
      Peter Krempa 提交于
      Explicitly enable --with-storage-scsi and disable --without-storage-zfs
      and --without-storage-vstorage so that the configure script doesn't
      check for them.
      
      Note that --with-storage-dir is enabled by default.
      4fb105f6
  2. 15 2月, 2017 1 次提交
    • A
      spec: Require libacl when building the QEMU driver · e04bd5b6
      Andrea Bolognani 提交于
      For the namespaces feature to work properly we need to be able
      to make a perfect copy of the original /dev, including ACLs.
      
      By adding a BuildRequires on libacl-devel we ensure that ACL
      support will be enabled at configure time and made available
      to the QEMU driver.
      e04bd5b6
  3. 30 1月, 2017 1 次提交
  4. 18 1月, 2017 1 次提交
  5. 08 12月, 2016 2 次提交
  6. 23 11月, 2016 1 次提交
    • N
      libvirtd: systemd: add special target for system shutdown · 01079727
      Nikolay Shirokovskiy 提交于
      It is already discussed in "[RFC] daemon: remove hardcode dep on libvirt-guests" [1].
      
      Mgmt can use means to save/restore domains on system shutdown/boot other than
      libvirt-guests.service. Thus we need to specify appropriate ordering dependency between
      libvirtd, domains and save/restore service. This patch takes approach suggested
      in RFC and introduces a systemd target, so that ordering can be built next way:
      
      libvirtd -> domain -> virt-guest-shutdown.target -> save-restore.service.
      
      This way domains are decoupled from specific shutdown service via intermediate
      target.
      
      [1] https://www.redhat.com/archives/libvir-list/2016-September/msg01353.html
      01079727
  7. 15 11月, 2016 1 次提交
  8. 11 11月, 2016 1 次提交
  9. 08 11月, 2016 1 次提交
    • A
      spec: Run all make jobs in parallel · 11d571ea
      Andrea Bolognani 提交于
      Commit e8861f69 changed our spec file to compile and run
      tests in parallel. That's a very good step forward, but why
      stop there? Let's run *all* make jobs in parallel and really
      put those expensive cores to use!
      
      On my laptop, this shaves ~10s off 'make rpm'.
      11d571ea
  10. 03 11月, 2016 1 次提交
    • M
      libvirt.spec: Build & run tests in parallel · e8861f69
      Michal Privoznik 提交于
      So far, the main code is built in parallel, which makes it pretty
      fast. But with a lots of tests we have now I've noticed this part
      takes too much time to build. The problem was that tests were
      build and run in a single job.
      
      Also, 'make' in the first hunk is useless. The test suite is not
      built due to 'make all' because there's no .git in the sources
      unpacked from a tar.xz archive. It's 'make check' which triggers
      tests build.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      e8861f69
  11. 19 10月, 2016 1 次提交
    • A
      spec: Drop support for Fedora < 23 · c9ddecdf
      Andrea Bolognani 提交于
      We only claim support for OSs that are still supported by the
      respective vendors, which means anything older than Fedora 23
      is out. Reword the comment a bit to highlight the criteria.
      c9ddecdf
  12. 27 9月, 2016 1 次提交
  13. 04 8月, 2016 1 次提交
  14. 28 7月, 2016 2 次提交
  15. 27 7月, 2016 1 次提交
  16. 14 7月, 2016 2 次提交
    • A
      spec: Fix indentation · 55d8daa0
      Andrea Bolognani 提交于
      Commit ffc49e57 broke syntax-check:
      
        cppi: libvirt.spec.in: line 622: not properly indented
        cppi: libvirt.spec.in: line 624: not properly indented
        cppi: libvirt.spec.in: line 640: not properly indented
        cppi: libvirt.spec.in: line 642: not properly indented
        maint.mk: incorrect preprocessor indentation
        cfg.mk:697: recipe for target 'sc_spec_indentation' failed
      
      Indent the new conditionals properly.
      55d8daa0
    • D
      libvirt.spec.in: require systemd-container on >= f24 · ffc49e57
      Daniel P. Berrange 提交于
      The systemd-machined tools libvirt uses were split into a
      systemd-container RPM. Without depending on this, libvirt
      may silently fallback to the non-systemd cgroup impl which
      is not desirable.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      ffc49e57
  17. 07 7月, 2016 2 次提交
    • M
      spec: Move virt-admin into its own package · 9a6e47c4
      Michal Privoznik 提交于
      The new package for the virt-admin binary is libvirt-admin.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      9a6e47c4
    • M
      spec: Split libvirt-client · 70b4f0e7
      Michal Privoznik 提交于
      Currently, we have libvirt-client library which serves as a
      collection point for all the libraries and client binaries we
      have. Therefore we have couple of silly dependencies, for
      instance libvirt-daemon depends on libvirt-client. Only because
      the shared library is in the client package.
      To solve this, new package libvirt-libs is introduced where all
      the libraries are going to live. The client package is then set
      to depend on this new package, just like the rest of packages
      that suffer the same problem.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      70b4f0e7
  18. 30 6月, 2016 1 次提交
    • J
      libvirt.spec.in: Use libnl-devel for RHEL-6 · e893d3ca
      Jean-Marc Liger 提交于
      RHEL-6 still needs to use libnl instead of libnl3, so re-add
      the spec conditional mistakenly removed in
      
        commit 3694e038
        Author: Daniel P. Berrange <berrange@redhat.com>
        Date:   Wed May 4 15:43:08 2016 +0100
      
          libvirt.spec.in: drop Fedora < 20 and RHEL < 6
      e893d3ca
  19. 26 6月, 2016 1 次提交
  20. 17 6月, 2016 1 次提交
  21. 16 6月, 2016 1 次提交
  22. 08 6月, 2016 1 次提交
  23. 07 6月, 2016 1 次提交
  24. 28 5月, 2016 1 次提交
  25. 17 5月, 2016 1 次提交
  26. 12 5月, 2016 1 次提交
  27. 11 5月, 2016 8 次提交