Skip to content
Snippets Groups Projects
  1. Apr 06, 2022
  2. Apr 05, 2022
  3. Apr 01, 2022
    • Marc-André Lureau's avatar
      trace: fix compilation with lttng-ust >= 2.13 · e32aaa5a
      Marc-André Lureau authored
      
      On Fedora 36, with lttng-ust 2.13.1, compilation fails with:
      
      In file included from trace/trace-ust-all.h:49085,
                       from trace/trace-ust-all.c:13:
      /usr/include/lttng/tracepoint-event.h:67:10: error: #include expects "FILENAME" or <FILENAME>
         67 | #include LTTNG_UST_TRACEPOINT_INCLUDE
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      In lttng-ust commit 41858e2b6e8 ("Fix: don't do macro expansion in
      tracepoint file name") from 2012, starting from lttng-ust 2.1, the API
      was changed to expect TRACEPOINT_INCLUDE to be defined as a string.
      
      In lttng-ust commit d2966b4b0b2 ("Remove TRACEPOINT_INCLUDE_FILE
      macro"), in 2021, the compatibility macro was removed.
      
      Use the "new" API from 2012, and bump the version requirement to 2.1 to
      fix compilation with >= 2.13.
      
      According to repology, all distributions we support have >= 2.1 (centos
      8 has oldest with 2.8.1 afaict)
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Message-Id: <20220328084717.367993-2-marcandre.lureau@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      e32aaa5a
  4. Mar 28, 2022
  5. Mar 22, 2022
  6. Mar 21, 2022
  7. Mar 18, 2022
    • Peter Maydell's avatar
      nsis installer: Fix mouse-over descriptions for emulators · c0879637
      Peter Maydell authored
      
      We use the nsis.py script to write out an installer script Section
      for each emulator executable, so the exact set of Sections depends on
      which executables were built.  However the part of qemu.nsi which
      specifies mouse-over descriptions for each Section still has a
      hard-coded and very outdated list (with just i386 and alpha).  This
      causes two problems.  Firstly, if you build the installer for a
      configuration where you didn't build the i386 binaries you get
      warnings like this:
        warning 6000: unknown variable/constant "{Section_i386}" detected, ignoring (macro:_==:1)
        warning 6000: unknown variable/constant "{Section_i386w}" detected, ignoring (macro:_==:1)
      (this happens in our gitlab CI jobs, for instance).
      Secondly, most of the emulators in the generated installer don't have
      any mouseover text.
      
      Make nsis.py generate a second output file which has the necessary
      MUI_DESCRIPTION_TEXT lines for each Section it creates, so we can
      include that at the right point in qemu.nsi to set the mouse-over
      text.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
      Message-id: 20220305105743.2384766-4-peter.maydell@linaro.org
      c0879637
    • Peter Maydell's avatar
      nsis installer: List emulators in alphabetical order · e422d92a
      Peter Maydell authored
      
      We currently list the emulators in the Windows installer's dialog
      in an essentially random order (it's whatever glob.glob() returns
      them to, which is filesystem-implementation-dependent). Add a
      call to sorted() so they appear in alphabetical order.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
      Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
      Message-id: 20220305105743.2384766-2-peter.maydell@linaro.org
      e422d92a
  8. Mar 15, 2022
  9. Mar 07, 2022
  10. Mar 06, 2022
  11. Feb 28, 2022
  12. Feb 23, 2022
    • Daniel P. Berrangé's avatar
      python: introduce qmp-shell-wrap convenience tool · 43912529
      Daniel P. Berrangé authored
      
      With the current 'qmp-shell' tool developers must first spawn QEMU with
      a suitable -qmp arg and then spawn qmp-shell in a separate terminal
      pointing to the right socket.
      
      With 'qmp-shell-wrap' developers can ignore QMP sockets entirely and
      just pass the QEMU command and arguments they want. The program will
      listen on a UNIX socket and tell QEMU to connect QMP to that.
      
      For example, this:
      
       # qmp-shell-wrap -- qemu-system-x86_64 -display none
      
      Is roughly equivalent of running:
      
       # qemu-system-x86_64 -display none -qmp qmp-shell-1234 &
       # qmp-shell qmp-shell-1234
      
      Except that 'qmp-shell-wrap' switches the socket peers around so that
      it is the UNIX socket server and QEMU is the socket client. This makes
      QEMU reliably go away when qmp-shell-wrap exits, closing the server
      socket.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-id: 20220128161157.36261-2-berrange@redhat.com
      [Edited for rebase. --js]
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      43912529
  13. Feb 21, 2022
  14. Feb 16, 2022
  15. Feb 09, 2022
  16. Jan 28, 2022
Loading