1. 29 6月, 2018 3 次提交
    • D
      glib: bump min required glib library version to 2.40 · e7b3af81
      Daniel P. Berrangé 提交于
      Per supported platforms doc[1], the various min glib on relevant distros is:
      
        RHEL-7: 2.50.3
        Debian (Stretch): 2.50.3
        Debian (Jessie): 2.42.1
        OpenBSD (Ports): 2.54.3
        FreeBSD (Ports): 2.50.3
        OpenSUSE Leap 15: 2.54.3
        SLE12-SP2: 2.48.2
        Ubuntu (Xenial): 2.48.0
        macOS (Homebrew): 2.56.0
      
      This suggests that a minimum glib of 2.42 is a reasonable target.
      
      The GLibC compile farm, however, uses Ubuntu 14.04 (Trusty) which only
      has glib 2.40.0, and this is needed for testing during merge. Thus an
      exception is made to the documented platform support policy to allow for
      all three current LTS releases to be supported.
      
      Docker jobs that not longer satisfy this new min version are removed.
      
      [1] https://qemu.weilnetz.de/doc/qemu-doc.html#Supported-build-platformsReviewed-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      e7b3af81
    • D
      util: remove redundant include of glib.h and add osdep.h · c5f1d0c4
      Daniel P. Berrangé 提交于
      Code must only ever include glib.h indirectly via the glib-compat.h
      header file, because we will need some macros set before glib.h is
      pulled in. Adding extra includes of glib.h will (soon) cause compile
      failures such as:
      
      In file included from /home/berrange/src/virt/qemu/include/qemu/osdep.h:107,
                       from /home/berrange/src/virt/qemu/include/qemu/iova-tree.h:26,
                       from util/iova-tree.c:13:
      /home/berrange/src/virt/qemu/include/glib-compat.h:22: error: "GLIB_VERSION_MIN_REQUIRED" redefined [-Werror]
       #define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_40
      
      In file included from /usr/include/glib-2.0/glib/gtypes.h:34,
                       from /usr/include/glib-2.0/glib/galloca.h:32,
                       from /usr/include/glib-2.0/glib.h:30,
                       from util/iova-tree.c:12:
      /usr/include/glib-2.0/glib/gversionmacros.h:237: note: this is the location of the previous definition
       # define GLIB_VERSION_MIN_REQUIRED      (GLIB_VERSION_CUR_STABLE)
      
      Furthermore, the osdep.h include should always be done directly from the
      .c file rather than indirectly via any .h file.
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      c5f1d0c4
    • P
      Merge remote-tracking branch 'remotes/berrange/tags/qio-next-pull-request' into staging · 609ef9f4
      Peter Maydell 提交于
      Merge qio 2018-06-28 v3
      
      Misc bug fixes for sockets channels
      
      # gpg: Signature made Thu 28 Jun 2018 13:37:35 BST
      # gpg:                using RSA key BE86EBB415104FDF
      # gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>"
      # gpg:                 aka "Daniel P. Berrange <berrange@redhat.com>"
      # Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF
      
      * remotes/berrange/tags/qio-next-pull-request:
        Delete AF_UNIX socket after close
        socket: don't free msgfds if error equals EAGAIN
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      609ef9f4
  2. 28 6月, 2018 15 次提交
  3. 27 6月, 2018 22 次提交