Skip to content
Snippets Groups Projects
  1. Nov 23, 2020
  2. Nov 22, 2020
  3. Nov 20, 2020
  4. Nov 19, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/tracing-pull-request' into staging · 7fbd7e71
      Peter Maydell authored
      
      Pull request
      
      Fix --enable-modules --enable-trace-backends=dtrace with recent SystemTap
      releases.
      
      # gpg: Signature made Thu 19 Nov 2020 16:47:33 GMT
      # gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
      # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8
      
      * remotes/stefanha-gitlab/tags/tracing-pull-request:
        trace: use STAP_SDT_V2 to work around symbol visibility
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      7fbd7e71
    • Stefan Hajnoczi's avatar
      trace: use STAP_SDT_V2 to work around symbol visibility · 4b265c79
      Stefan Hajnoczi authored
      QEMU binaries no longer launch successfully with recent SystemTap
      releases. This is because modular QEMU builds link the sdt semaphores
      into the main binary instead of into the shared objects where they are
      used. The symbol visibility of semaphores is 'hidden' and the dynamic
      linker prints an error during module loading:
      
        $ ./configure --enable-trace-backends=dtrace --enable-modules ...
        ...
        Failed to open module: /builddir/build/BUILD/qemu-4.2.0/s390x-softmmu/../block-curl.so: undefined symbol: qemu_curl_close_semaphore
      
      The long-term solution is to generate per-module dtrace .o files and
      link them into the module instead of the main binary.
      
      In the short term we can define STAP_SDT_V2 so dtrace(1) produces a .o
      file with 'default' symbol visibility instead of 'hidden'. This
      workaround is small and easier to merge for QEMU 5.2 and downstream
      backports.
      
      Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1898700
      
      
      Cc: wcohen@redhat.com
      Cc: fche@redhat.com
      Cc: kraxel@redhat.com
      Cc: rjones@redhat.com
      Cc: ddepaula@redhat.com
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: default avatarMiroslav Rezanina <mrezanin@redhat.com>
      Message-id: 20201119141457.844452-1-stefanha@redhat.com
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      4b265c79
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20201119' into staging · ff85db76
      Peter Maydell authored
      
      s390x fixes:
      - fix propagation and reset for the new diag318 call
      - fix hot-unplug for vfio-pci devices
      - fix endianness issues in zPCI (regression fix)
      
      # gpg: Signature made Thu 19 Nov 2020 10:15:58 GMT
      # gpg:                using RSA key C3D0D66DC3624FF6A8C018CEDECF6B93C6F02FAF
      # gpg:                issuer "cohuck@redhat.com"
      # gpg: Good signature from "Cornelia Huck <conny@cornelia-huck.de>" [unknown]
      # gpg:                 aka "Cornelia Huck <huckc@linux.vnet.ibm.com>" [full]
      # gpg:                 aka "Cornelia Huck <cornelia.huck@de.ibm.com>" [full]
      # gpg:                 aka "Cornelia Huck <cohuck@kernel.org>" [unknown]
      # gpg:                 aka "Cornelia Huck <cohuck@redhat.com>" [unknown]
      # Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF
      
      * remotes/cohuck/tags/s390x-20201119:
        s390x/pci: fix endianness issues
        s390x/pci: Unregister listeners before destroying IOMMU address space
        s390/kvm: fix diag318 propagation and reset functionality
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      ff85db76
  5. Nov 18, 2020
  6. Nov 17, 2020
Loading