1. 28 Mar, 2022 3 commits
  2. 20 Oct, 2021 1 commit
  3. 20 Aug, 2021 4 commits
  4. 27 Jul, 2021 1 commit
    • Daniel P. Berrangé's avatar
      gitlab: use custom docker:dind image · 148d49ec
      Daniel P. Berrangé authored
      
      
      The current docker:dind container has broken default seccomp filter that
      results in clone3 being blocked, which in turn breaks Fedora 35 rawhide.
      
      This custom image has a workaround that causes the seccomp filter to
      return ENOSYS for clone3 instad of EPERM, thus triggering glibc to
      fallback to clone correctly.
      Signed-off-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
      148d49ec
  5. 19 Jan, 2021 1 commit
    • Erik Skultety's avatar
      ci: Refresh Dockerfiles · 488d7778
      Erik Skultety authored
      
      
      Changes contained in this refresh:
      - CentOS 7 is pulled from docker.io registry
      - PowerTools repo name regression fix for CentOS Stream
      - enhancement for the workaround fix for JDK installation fails on Debian 10
        '-slim' containers
      Signed-off-by: Erik Skultety's avatarErik Skultety <eskultet@redhat.com>
      488d7778
  6. 01 Dec, 2020 3 commits
  7. 04 Aug, 2020 1 commit
  8. 25 Jun, 2020 2 commits
  9. 30 Apr, 2020 1 commit
  10. 07 Apr, 2020 1 commit
    • Daniel P. Berrangé's avatar
      github: enable lockdown of issues and merge requests · e857043e
      Daniel P. Berrangé authored
      Libvirt uses GitHub as an automated read-only mirror. The goals were to
      have a disaster recovery backup for libvirt.org, a way to make it easy
      for people to clone their own private copy of libvirt Git, and finally
      as a way to interact with apps like Travis.
      
      The project description was set to a message telling people that we
      don't respond to pull requests. This was quite a negative message to
      potential contributors, and also did not give them any guidance about
      the right way to submit to libvirt. Many also missed the description and
      submitted issues or pull requests regardless.
      
      It is possible to disable the issue tracker in GitHub, but there is no
      way to disable merge requests. Disabling the issue tracker would also
      leave the problem of users not being given any positive information
      about where they should be reporting instead.
      
      There is a fairly new 3rd party application built for GitHub that
      provides a bot which auto-responds to both issues and merge requests,
      closing and locking them, with a arbitrary comment:
      
         https://github.com/apps/repo-lockdown
      
      
      
      This commit adds a suitable configuration file for libvirt, which
      tries to give a positive response to user's issue/pullreq and guide
      them to the desired contribution path on GitLab.
      Reviewed-by: Andrea Bolognani's avatarAndrea Bolognani <abologna@redhat.com>
      Reviewed-by: Pavel Hrdina's avatarPavel Hrdina <phrdina@redhat.com>
      Reviewed-by: Eric Blake's avatarEric Blake <eblake@redhat.com>
      Signed-off-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
      e857043e
  11. 16 Jan, 2020 1 commit
  12. 31 Jan, 2019 3 commits
    • Daniel P. Berrangé's avatar
      Ensure nul termination of hostname · d7684186
      Daniel P. Berrangé authored
      Newest GCC warns that the string copying is potentially truncated and
      thus not nul terminated.
      
      In file included from /usr/include/string.h:494,
                       from ../../src/Virt_HostSystem.c:23:
      In function ‘strncpy’,
          inlined from ‘resolve_host’ at ../../src/Virt_HostSystem.c:55:28,
          inlined from ‘get_fqdn’ at ../../src/Virt_HostSystem.c:92:23,
          inlined from ‘set_host_system_properties’ at ../../src/Virt_HostSystem.c:109:13:
      /usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
        106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘strncpy’,
          inlined from ‘resolve_host’ at ../../src/Virt_HostSystem.c:67:17,
          inlined from ‘get_fqdn’ at ../../src/Virt_HostSystem.c:92:23,
          inlined from ‘set_host_system_properti...
      d7684186
    • Daniel P. Berrangé's avatar
      No need to tell us we can run make · 7b2725ba
      Daniel P. Berrangé authored
      
      
      When running autogen.sh we get told twice
      
         "You may now run make"
      
      Anyone who knows that they must run configure, already knows that they
      must run make too. There's no need to tell them, twice.
      Signed-off-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
      7b2725ba
    • Daniel P. Berrangé's avatar
      Update description of DMTF schema distribution terms · a35bb08e
      Daniel P. Berrangé authored
      
      
      The schema files that we actually download & bundle in the tar.gz dist
      have removed the clause "for uses consistent with this purpose" which
      is good because that clause might be considered a distribution
      restriction which could make it a non-free license.
      Signed-off-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
      a35bb08e
  13. 24 Apr, 2018 1 commit
    • Daniel P. Berrangé's avatar
      git: add config file telling git-publish how to send patches · 9c55cc69
      Daniel P. Berrangé authored
      
      
      The "git-publish" tool is a useful git extension for sending patch
      series for code review. It automatically creates versioned tags
      each time code on a branch is sent, so that there is a record of
      each version. It also remembers the cover letter so it does not
      need re-entering each time the series is reposted.
      
      With this config file present it is now sufficient[1] to run
      
        $ git publish
      
      to send all patches in a branch to the list for review, with the
      correct subject prefix added for this non-core libvirt module.
      
      [1] Assuming your $HOME/.gitconfig has an SMTP server listed
      at least e.g.
      
         [sendemail]
              smtpserver = smtp.example.com
      Signed-off-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
      9c55cc69
  14. 16 Nov, 2017 3 commits
  15. 22 Sep, 2017 2 commits
  16. 28 Apr, 2015 1 commit
    • Michal Privoznik's avatar
      list_util.h: Drop inline modifiers · 63acad05
      Michal Privoznik authored
      There's no need to mark a function as inline in the function
      declaration. In fact, it causes a compilation error:
      
        CC       xmlgen.lo
      In file included from acl_parsing.h:29:0,
                       from xmlgen.h:26,
                       from capability_parsing.c:37:
      list_util.h:67:21: error: inline function ‘list_node_prev_node’ declared but never defined [-Werror]
       inline list_node_t *list_node_prev_node(list_node_t *node);
                           ^
      list_util.h:66:14: error: inline function ‘list_node_prev’ declared but never defined [-Werror]
       inline void        *list_node_prev(list_node_t *node);
                    ^
      list_util.h:64:21: error: inline function ‘list_node_next_node’ declared but never defined [-Werror]
       inline list_node_t *list_node_next_node(list_node_t *node);
                           ^
      list_util.h:63:14: error: inline function ‘list_node_next’ declared but never defined [-Werror]
       inline void        *list_node_next(list_node_t *node);
                    ^
      lis...
      63acad05
  17. 16 Jun, 2014 1 commit
  18. 11 Jun, 2014 1 commit
    • Xu Wang's avatar
      Add disk device='lun' support · 5787acc1
      Xu Wang authored and John Ferlan's avatar John Ferlan committed
      
      
      Besides 'disk', 'cdrom', 'floppy' and 'filesystem', there is one
      more value 'lun' should be supported by value of device field in
      the disk device. So this patch adds it into libvirt-cim. Now device
      like <disk type='block' device='lun'> could be operated by class.
      Signed-off-by: default avatarXu Wang <gesaint@linux.vnet.ibm.com>
      5787acc1
  19. 07 May, 2014 1 commit
  20. 04 Apr, 2014 3 commits
  21. 27 Mar, 2014 3 commits
  22. 26 Mar, 2014 2 commits
    • Xu Wang's avatar
      Parse/Store controller XML tags · 48b28b6a
      Xu Wang authored and John Ferlan's avatar John Ferlan committed
      
      
      Parse and store the <controller> XML tags.  The generated DeviceID will
      be a combination of "controller" + XML device "name" + XML Index "value".
      This should be unique enough now and generates "controller:pci:0" or
      "controller:usb:0" DeviceID's.
      
      In the future, if support is added for the "<master>" XML child a new
      mechanism will need to be put in place since one of those controllers is
      designed to have the same name and index - what changes is the function
      for the device.
      Signed-off-by: John Ferlan's avatarJohn Ferlan <jferlan@redhat.com>
      48b28b6a
    • Xu Wang's avatar
      Add virtual controller device types · 4954aa8c
      Xu Wang authored and John Ferlan's avatar John Ferlan committed
      
      
      Add data and strutures for a virtual controller device
      Signed-off-by: John Ferlan's avatarJohn Ferlan <jferlan@redhat.com>
      4954aa8c