1. 01 4月, 2018 1 次提交
  2. 26 3月, 2018 1 次提交
  3. 20 3月, 2018 1 次提交
  4. 05 3月, 2018 1 次提交
  5. 22 2月, 2018 1 次提交
  6. 09 2月, 2018 1 次提交
    • D
      build: passing the "-z defs" linker flag to prevent undefined symbols · a1f6030d
      Daniel P. Berrangé 提交于
      Undefined symbols are a bad thing in general because they can get
      resolved in unexpected ways at runtime if multiple sources provide the
      same symbol name. For example both glibc and libtirpc may provide XDR
      symbols and we want to ensure that we resolve to libtirpc if that's what
      we originally built against.
      
      The toolchain maintainers thus strongly recommend that all applications
      use the '-z defs' linker flag to prevent undefined symbols. This is
      shortly becoming part of the default linker flags for RPMs. As an added
      benefit this aligns Linux builds with Windows builds, where the linker
      has never permitted undefined symbols.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      a1f6030d
  7. 19 1月, 2018 1 次提交
  8. 12 1月, 2018 1 次提交
  9. 05 12月, 2017 2 次提交
  10. 03 11月, 2017 1 次提交
  11. 16 10月, 2017 1 次提交
  12. 04 10月, 2017 1 次提交
  13. 19 9月, 2017 1 次提交
    • J
      configure: fix check for DEVLINK_CMD_ESWITCH_GET · cdd6eb99
      Ján Tomko 提交于
      Instead of checking for all possible constants that every
      kernel header with devlink support should have (and defining
      HAVE_DECL_DEVLINK as 1 if any of them is present due to the
      way AC_CHECK_DECLS works), only check for DEVLINK_CMD_ESWITCH_GET.
      
      This is the name of the constant since kernel 4.11. Between 4.8
      and 4.11, the now deprecated spelling DEVLINK_CMD_ESWITCH_MODE_GET
      was used.
      
      Assume DEVLINK_ESWITCH_MODE_SWITCHDEV is available, since it was
      introduced along with the deprecated spelling.
      cdd6eb99
  14. 18 9月, 2017 1 次提交
  15. 04 9月, 2017 1 次提交
  16. 02 8月, 2017 1 次提交
  17. 05 7月, 2017 1 次提交
  18. 09 6月, 2017 1 次提交
    • R
      virsh: workaround readline prototypes warnings · 9ea3424a
      Roman Bogorodskiy 提交于
      When building with clang 4.0.0, virsh build fails like this:
      
      gmake[3]: Entering directory '/usr/home/novel/code/libvirt/tools'
        CC       virsh-virsh.o
      In file included from virsh.c:45:
      In file included from /usr/local/include/readline/readline.h:31:
      /usr/local/include/readline/rltypedefs.h:35:22: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
      typedef int Function () __attribute__ ((deprecated));
                           ^
                            void
      /usr/local/include/readline/rltypedefs.h:36:24: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
      typedef void VFunction () __attribute__ ((deprecated));
                             ^
                              void
      /usr/local/include/readline/rltypedefs.h:37:26: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
      typedef char *CPFunction () __attribute__ ((deprecated));
                               ^
                                void
      /usr/local/include/readline/rltypedefs.h:38:28: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
      typedef char **CPPFunction () __attribute__ ((deprecated));
                                 ^
                                  void
      In file included from virsh.c:45:
      /usr/local/include/readline/readline.h:385:23: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
      extern int rl_message ();
                            ^
                             void
      5 errors generated.
      gmake[3]: *** [Makefile:2823: virsh-virsh.o] Error 1
      
      Fix that by adding -D_FUNCTION_DEF to READLINE_CFLAGS to fix *Function
      related warnings and add a check for stdarg.h so we have HAVE_STDARG_H
      defined that's needed by the readline headers to use proper rl_message
      declaration.
      
      Bug report on the readline mailing list:
      
       http://lists.gnu.org/archive/html/bug-readline/2017-05/msg00004.html
      9ea3424a
  19. 02 6月, 2017 1 次提交
  20. 22 5月, 2017 1 次提交
    • J
      test: fixing variable names for test suite inside configure.ac. · f7c7f450
      Julio Faracco 提交于
      Both variables for gcov and oom have wrong names inside configure.ac.
      For this reason, the Test Suite configuration is not showing the current
      configuration.
      
      Before patching:
      configure:    windres: no
      configure:
      configure: Test suite
      configure:
      configure:          Coverage:
      configure:         Alloc OOM:
      configure:
      configure: Miscellaneous
      
      After patching (using --enable-test-coverage and --enable-test-oom):
      configure:    windres: no
      configure:
      configure: Test suite
      configure:
      configure:          Coverage: yes
      configure:         Alloc OOM: yes
      configure:
      configure: Miscellaneous
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      f7c7f450
  21. 19 5月, 2017 1 次提交
  22. 09 5月, 2017 4 次提交
    • A
      Add YouCompleteMe support · 64b474a8
      Andrea Bolognani 提交于
      YouCompleteMe[1] is a vim plugin that implements semantic
      code completion using libclang.
      
      For non-trivial projects such as libvirt, the plugin needs
      some help figuring out where to find the various header
      files: generate its configuration file at configure time
      so that the plugin works out of the box.
      
      [1] http://valloric.github.io/YouCompleteMe/
      64b474a8
    • A
      Add color_coded support · a50dee9f
      Andrea Bolognani 提交于
      color_coded[1] is a vim plugin that implements semantic
      syntax highlighting using libclang.
      
      For non-trivial projects such as libvirt, the plugin needs
      some help figuring out where to find the various header
      files: generate its configuration file at configure time
      so that the plugin works out of the box.
      
      [1] https://github.com/jeaye/color_coded
      a50dee9f
    • E
      Post-release version bump to 3.4.0 · ca719455
      Erik Skultety 提交于
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      ca719455
    • D
      configure: enforce presence of python for build · 42c7b9e5
      Daniel P. Berrange 提交于
      The API docs extractor, ESX code generator and keycodemapdb tools
      rely on python. Historically every platform that this present, but
      with switch to Python3 by default, we're increasingly seeing
      installs without a /usr/bin/python.
      
      This tightens up the check during configure, so it exits immediately
      if python is missing, rather than leaving an empty $(PYTHON) make
      variable which leads to more obscure errors later.
      
      Also add it as a build dep for Mingw, since Fedora build roots no
      longer get python2 by default. This was not previously a major
      problem, since both ESX & API generated files were included in
      EXTRA_DIST, but the keycodemapdb generated files are not, so we
      require python all the time now.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      42c7b9e5
  23. 21 4月, 2017 1 次提交
    • M
      util: Add virNetDevSetCoalesce function · 652ef9bc
      Martin Kletzander 提交于
      That function is able to configure coalesce settings for an interface,
      similarly to 'ethtool -C'.  This function also updates back the
      structure so that it contains actual data on the device (if the device
      doesn't support some settings kernel might just return 0 and not set
      whatever is not supported), so this way we'll have up-to-date
      information in the live domain XML.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      652ef9bc
  24. 03 4月, 2017 1 次提交
  25. 28 3月, 2017 1 次提交
  26. 09 3月, 2017 1 次提交
  27. 03 3月, 2017 1 次提交
  28. 15 2月, 2017 1 次提交
  29. 26 1月, 2017 1 次提交
  30. 19 1月, 2017 1 次提交
    • D
      storage: avoid use of undefined GLUSTER_CLI variable · 2e045a4f
      Daniel P. Berrange 提交于
      Previous commit tried to change configure logic such that the
      GLUSTER_CLI parameter would always be set:
      
        commit 9e97c8c0
        Author: Peter Krempa <pkrempa@redhat.com>
        Date:   Mon Jan 9 15:56:12 2017 +0100
      
          storage: gluster: Remove build-time dependency on the 'gluster' cli tool
      
      This missed the fact that the AC_PATH_PROG call was itself inside an 'if'
      conditional that would not be called in with_storage_gluster was false. As
      a result, GLUSTER_CLI was still conditionally defined.
      
      Just kill the GLUSTER_CLI parameter and AC_PATH_PROG call entirely and pass a
      bare "gluster" string to virFindFileInPath instead.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      2e045a4f
  31. 18 1月, 2017 2 次提交
  32. 02 1月, 2017 1 次提交
  33. 22 12月, 2016 1 次提交
    • A
      m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros · e64f2fab
      Andrea Bolognani 提交于
      LIBVIRT_ARG_WITH_ALT is more generic than LIBVIRT_ARG_WITH, which
      is tailored at switching features on and off.
      
      Rename the macros according to their intended purpose, and add
      some documentation to help developers pick between the two.
      e64f2fab
  34. 21 12月, 2016 2 次提交