1. 26 4月, 2016 2 次提交
  2. 20 4月, 2016 1 次提交
  3. 15 4月, 2016 1 次提交
  4. 06 4月, 2016 2 次提交
  5. 19 3月, 2016 1 次提交
  6. 01 3月, 2016 1 次提交
  7. 15 2月, 2016 1 次提交
  8. 17 1月, 2016 1 次提交
  9. 10 1月, 2016 1 次提交
    • C
      examples: Use one top level makefile · da176bf6
      Cole Robinson 提交于
      Using one Makefile per example subdirectory essentially serializes 'make'
      calls. Convert to one example/Makefile that builds and distributes
      all the subdir files. This reduces example/ rebuild time from about 5.8
      seconds to 1.5 seconds on my machine.
      
      One slight difference is that we no longer ship Makefile.am with the
      examples in the rpm. This was virtually useless anyways since the Makefile
      was very specific to libvirt infrastructure, so wasn't generically
      reusable anyways.
      
      Tested with 'make distcheck' and 'make rpm'
      da176bf6
  10. 06 1月, 2016 2 次提交
  11. 09 12月, 2015 1 次提交
  12. 08 12月, 2015 1 次提交
    • D
      rpm: explicitly enable & start virtlogd on install · da054f35
      Daniel P. Berrange 提交于
      When installing the libvirt-daemon RPM, we have a %post rule to
      enable the libvirtd.service, virtlockd.socket and virtlogd.socket
      files. This is only done, however, when the RPM is first installed,
      not when upgrading RPMs. So virtlogd will not get activated on
      upgrading, which is a problem as libvirt qemu driver will expect
      it to be available by default.
      
      This adds a trigger that is run when uninstalling libvirt-daemon
      older than 1.3.0 that will enable & start virtlogd.socket if
      libvirtd is enabled and/or started. Using the trigger rather
      than %post ensures that it only runs once, allowing admins to
      disable it explicitly thereafter without future upgrades
      re-enabling it.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      da054f35
  13. 01 12月, 2015 2 次提交
  14. 26 11月, 2015 1 次提交
  15. 04 11月, 2015 1 次提交
  16. 29 10月, 2015 1 次提交
    • M
      wireshark: Install to generic plugin directory · 7c8250d7
      Michal Privoznik 提交于
      There has been a report on the list [1] that we are not
      installing the wireshark dissector into the correct plugin
      directory. And in fact we are not. The problem is, the plugin
      directory path is constructed at compile time. However, it's
      dependent on the wireshark version, e.g.
      
        /usr/lib/wireshark/plugins/1.12.6
      
      This is rather unfortunate, because if libvirt RPMs were built
      with one version, but installed on a system with newer one, the
      plugins are not really loaded. This problem lead fedora packagers
      to unify plugin path to:
      
        /usr/lib/wireshark/plugins/
      
      Cool! But this was enabled just in wireshark-1.12.6-4. Therefore,
      we must require at least that version.
      
      And while at it, on some distributions, the wireshark.pc file
      already has a variable that defines where plugin dir is. Use that
      if possible.
      
      1: https://www.redhat.com/archives/libvirt-users/2015-October/msg00063.htmlSigned-off-by: NMichal Privoznik <mprivozn@redhat.com>
      7c8250d7
  17. 07 10月, 2015 1 次提交
    • C
      spec: Delete .git after applying patches · 62ff210e
      Cole Robinson 提交于
      I'm hitting this little annoyance in fedora's package repo:
      
      $ fedpkg prep
      Downloading libvirt-1.2.20.tar.gz
      ...
      + /usr/bin/gzip -dc /home/crobinso/src/fedora/libvirt/libvirt-1.2.20.tar.gz
      $ git clean -xdf
      Removing libvirt-1.2.20.tar.gz
      Skipping repository libvirt-1.2.20/
      
      We git-ify the libvirt directory as part of applying patches in the spec
      file, but 'git clean' will ignore subfolders that appear to be standalone
      git repos.
      
      Let's just delete the .git directory after we're done with it.
      62ff210e
  18. 02 10月, 2015 2 次提交
  19. 23 9月, 2015 1 次提交
    • C
      spec: Fix some warnings with latest rpmbuild · dae1250b
      Cole Robinson 提交于
      $ rpmbuild -ba libvirt.spec
      warning: Macro expanded in comment on line 5: # If neither fedora nor rhel was defined, try to guess them from %{dist}
      
      warning: Macro %enable_autotools defined but not used within scope
      warning: Macro %client_only defined but not used within scope
      ...
      dae1250b
  20. 14 9月, 2015 1 次提交
  21. 07 9月, 2015 1 次提交
  22. 04 9月, 2015 1 次提交
    • J
      examples: Add example polkit ACL rules · 29b51674
      Jiri Denemark 提交于
      Creating ACL rules is not exactly easy and existing examples are pretty
      simple. This patch adds a somewhat complex example which defines several
      roles. Admins can do everything, operators can do basic operations
      on any domain and several groups of users who act as operators but only
      on a limited set of domains.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      29b51674
  23. 02 9月, 2015 1 次提交
  24. 03 8月, 2015 2 次提交
  25. 22 7月, 2015 1 次提交
    • C
      spec: Fix polkit dep on F23 · 6600f4f3
      Cole Robinson 提交于
      As of fedora polkit-0.113-2, polkit-devel only pulls in polkit-libs, not
      full polkit, but we need the latter for pkcheck otherwise our configure
      test fails.
      6600f4f3
  26. 02 7月, 2015 1 次提交
  27. 28 6月, 2015 2 次提交
  28. 17 6月, 2015 2 次提交
  29. 16 6月, 2015 2 次提交
    • M
      Add XML files with admin API specification · 878bf2a3
      Martin Kletzander 提交于
      No online docs are build from it since it doesn't really fit into our
      document structure and new page will need to be created for it, but this
      is at least a heads-up commit for easier parsing in order to build some
      documentation (or python bindings) later on.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      878bf2a3
    • M
      Add libvirt-admin library · 55e0c840
      Martin Kletzander 提交于
      Initial scratch of the admin library.  It has its own virAdmConnectPtr
      that inherits from virAbstractConnectPtr and thus trivially supports
      error reporting.
      
      There's pkg-config file added and spec-file adjusted as well.
      
      Since the library should be "minimalistic" and not depend on any other
      library, the list of files is especially crafted for it.  Most of them
      could've been put to it's own sub-libraries that would be LIBADD'd to
      libvirt_util, libvirt_net_rpc and libvirt_setuid_rpc_client to minimize
      the number of object files being built, but that's a refactoring that
      isn't the orginal aim of this commit.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      55e0c840
  30. 02 6月, 2015 1 次提交
    • J
      spec: fixes for recently introduced libxl conf files · df37c26e
      Jim Fehlig 提交于
      Commit 198cc1d3 introduced libxl-lockd and libxl-sanlock config
      files but forgot to add them to the spec file.  Follow-up commit
      62b18d98 added the files to daemon-driver-libxl, but missed adding
      them to the daemon package when configuring libvirt
      --without-driver-modules.  In addition, commit 62b18d98 added
      libxl-sanlock to daemon-driver-libxl, but it should be included
      in lock-sanlock when libvirt is configured --with-sanlock.
      df37c26e
  31. 01 6月, 2015 1 次提交