1. 16 6月, 2015 1 次提交
    • 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
  2. 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
  3. 01 6月, 2015 1 次提交
  4. 05 5月, 2015 2 次提交
    • J
      libxl: add logrotate config file · 77664cb4
      Jim Fehlig 提交于
      Add logrotate config for log files in /var/log/libvirt/libxl.
      77664cb4
    • C
      polkit: Allow password-less access for 'libvirt' group · e94979e9
      Cole Robinson 提交于
      Many users, who admin their own machines, want to be able to access
      system libvirtd via tools like virt-manager without having to enter
      a root password. Just google 'virt-manager without password' and
      you'll find many hits. I've read at least 5 blog posts over the years
      describing slightly different ways of achieving this goal.
      
      Let's finally add official support for this.
      
      Install a polkit-1 rules file granting password-less auth for any user
      in the new 'libvirt' group. Create the group on RPM install
      
      https://bugzilla.redhat.com/show_bug.cgi?id=957300
      e94979e9
  5. 04 5月, 2015 1 次提交
  6. 30 4月, 2015 1 次提交
  7. 24 4月, 2015 2 次提交
  8. 23 4月, 2015 2 次提交
  9. 22 4月, 2015 1 次提交
  10. 16 4月, 2015 1 次提交
  11. 02 4月, 2015 1 次提交
  12. 05 3月, 2015 1 次提交
  13. 02 3月, 2015 1 次提交
  14. 29 1月, 2015 1 次提交
  15. 27 1月, 2015 1 次提交
  16. 16 12月, 2014 2 次提交
  17. 13 12月, 2014 1 次提交
  18. 09 12月, 2014 1 次提交
  19. 02 12月, 2014 2 次提交
  20. 24 11月, 2014 1 次提交
    • J
      spec: Automatically apply all patches with git · 1fd83607
      Jiri Denemark 提交于
      With this change, any patch declared in libvirt.spec with Patch[0-9]* is
      automatically applied in %prep. Unlike with the standard %patch[0-9]*,
      patches are applied with "git am" to avoid some unexpected results.
      However, as a result of this, all patches must be in the right format
      for "git am" to be able to apply them; they should ideally be generated
      from git using "git format-patch".
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      1fd83607
  21. 03 11月, 2014 1 次提交
  22. 25 10月, 2014 11 次提交
    • D
      Move virConnect related APIs out of libvirt.h.in · bcec07b9
      Daniel P. Berrange 提交于
      Create a new libvirt-host.h file to hold the public
      API definitions for the virConnect type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      bcec07b9
    • D
      Move virDomain related APIs out of libvirt.h.in · 653a5e49
      Daniel P. Berrange 提交于
      Create a new libvirt-domain.h file to hold the public
      API definitions for the virDomain type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      653a5e49
    • D
      Move virEvent related APIs out of libvirt.h.in · 6d9c5f37
      Daniel P. Berrange 提交于
      Create a new libvirt-event.h file to hold the public
      API definitions for the virEvent type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      6d9c5f37
    • D
      Move virStoragePool/Vol related APIs out of libvirt.h.in · c9456e1a
      Daniel P. Berrange 提交于
      Create a new libvirt-storage.h file to hold the public
      API definitions for the virStorage/Vol type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      c9456e1a
    • D
      Move virStream related APIs out of libvirt.h.in · 2805ddb2
      Daniel P. Berrange 提交于
      Create a new libvirt-stream.h file to hold the public
      API definitions for the virStream type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      
      Note the definition of virStreamPtr is not moved, since that
      must be declared early for all other libvirt APIs to be able
      to reference it.
      2805ddb2
    • D
      Move virSecret related APIs out of libvirt.h.in · 75ff42fe
      Daniel P. Berrange 提交于
      Create a new libvirt-secret.h file to hold the public
      API definitions for the virSecret type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      75ff42fe
    • D
      Move virNodeDevice related APIs out of libvirt.h.in · 0147d6b8
      Daniel P. Berrange 提交于
      Create a new libvirt-nodedev.h file to hold the public
      API definitions for the virNodeDevice type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      0147d6b8
    • D
      Move virNWFilter related APIs out of libvirt.h.in · 40741984
      Daniel P. Berrange 提交于
      Create a new libvirt-nwfilter.h file to hold the public
      API definitions for the virNWFilter type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      40741984
    • D
      Move virInterface related APIs out of libvirt.h.in · fc964bfc
      Daniel P. Berrange 提交于
      Create a new libvirt-interface.h file to hold the public
      API definitions for the virInterface type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      fc964bfc
    • D
      Move virNetwork related APIs out of libvirt.h.in · 5c9789d2
      Daniel P. Berrange 提交于
      Create a new libvirt-network.h file to hold the public
      API definitions for the virNetwork type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      5c9789d2
    • D
      Move virDomainSnapshot related APIs out of libvirt.h.in · 84783d9d
      Daniel P. Berrange 提交于
      Create a new libvirt-domain-snapshot.h file to hold the public
      API definitions for the virDomainSnapshot type. This header
      file is not self-contained, so applications will not directly
      include it. They will continue to #include <libvirt/libvirt.h>
      84783d9d
  23. 01 10月, 2014 1 次提交
    • D
      Release of libvirt-1.2.9 · 8a24579f
      Daniel Veillard 提交于
      * docs/news.html.in libvirt.spec.in: update for release
      * po/*.po*: updated localizations and regenerated
      8a24579f
  24. 16 9月, 2014 1 次提交
    • L
      network: detect conflicting route even if it is the final entry · 22048ae6
      Laine Stump 提交于
      This is a folloup to commit 5f719596, which checks for a route
      conflicting with the standard libvirt default network subnet
      (192.168.122.0/24). It turns out that $() strips the trailing newline
      from the output of "ip route show", so there would be no match if the
      route we were looking for was the final line of output. This can be
      solved by adding ${nl} to the end of the output (just as we were
      already adding it at the beginning of the output).
      22048ae6
  25. 15 9月, 2014 1 次提交
    • L
      network: try to eliminate default network conflict during package install · 5f719596
      Laine Stump 提交于
      Sometimes libvirt is installed on a host that is already using the
      network 192.168.122.0/24. If the libvirt-daemon-config-network package
      is installed, this creates a conflict, since that package has been
      hard-coded to create a virtual network that also uses
      192.168.122.0/24. In the past libvirt has attempted to warn of /
      remediate this situation by checking for conflicting routes when the
      network is started, but it turns out that isn't always useful (for
      example in the case that the *other* interface/network creating the
      conflict hasn't yet been started at the time libvirtd start its own
      networks).
      
      This patch attempts to catch the problem earlier - at install
      time. During the %post install script for
      libvirt-daemon-config-network, we use a case statement to look through
      the output of "ip route show" for a route that exactly matches
      192.168.122.0/24, and if found we search for a similar route that
      *doesn't* match (e.g. 192.168.124.0/24) (note that the search starts
      with "124" instead of 123 because of reports of people already
      modifying their L1 host's network to 192.168.123.0/24 in an attempt to
      solve exactly the problem we are also trying to solve).  When we find
      an available route, we just replace all occurrences of "122" in the
      default.xml that is being created with the newly found 192.168
      subnet. This could obviously be made more complicated - examine the
      template defaul.xml to automatically determine the existing network
      address and mask rather than hard coding it in the specfile, etc, but
      this scripting is simpler and gets the job done as long as we continue
      to use 192.168.122.0/24 in the template. (If anyone with mad bash
      skillz wants to suggest something to do that, by all means please do).
      
      This is intended to at least "further reduce" occurrence of the
      problems detailed in:
      
        https://bugzilla.redhat.com/show_bug.cgi?id=811967
      5f719596