Skip to content
Snippets Groups Projects
  1. May 26, 2021
  2. May 14, 2021
    • Thomas Huth's avatar
      configure: Poison all current target-specific #defines · e0447a83
      Thomas Huth authored
      
      We are generating a lot of target-specific defines in the *-config-devices.h
      and *-config-target.h files. Using them in common code is wrong and leads
      to very subtle bugs since a "#ifdef CONFIG_SOMETHING" is not working there
      as expected. To avoid these issues, we are already poisoning many of the
      macros in include/exec/poison.h - but it's cumbersome to maintain this
      list manually. Thus let's generate an additional list of poisoned macros
      automatically from the current config switches - this should give us a
      much better test coverage via the different CI configurations.
      
      Note that CONFIG_TCG (which is also defined in config-host.h) and
      CONFIG_USER_ONLY are special, so we have to filter these out.
      
      Message-Id: <20210414112004.943383-5-thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      e0447a83
  3. Mar 06, 2021
  4. Feb 08, 2021
  5. Jan 29, 2021
    • Dan Streetman's avatar
      configure: replace --enable/disable-git-update with --with-git-submodules · 7d7dbf9d
      Dan Streetman authored
      
      Replace the --enable-git-update and --disable-git-update configure params
      with the param --with-git-submodules=(update|validate|ignore) to
      allow 3 options for building from a git repo.
      
      This is needed because downstream packagers, e.g. Debian, Ubuntu, etc,
      also keep the source code in git, but do not want to enable the
      'git_update' mode; with the current code, that's not possible even
      if the downstream package specifies --disable-git-update.
      
      The previous parameters are deprecated but still available; the
      --enable-git-update parameter maps to --with-git-submodules=update and
      --disable-git-update parameter maps to --with-git-submodules=validate.
      
      The configure script behavior is slightly modified, where previously
      the dtc, capstone, and slirp submodules were not validated when
      --disable-git-update was specified (but were updated with git-update
      enabled), now they are validated when using --with-git-submodules=validate
      and are only ignored when using --with-git-submodules=ignore.
      
      Signed-off-by: default avatarDan Streetman <ddstreet@canonical.com>
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      7d7dbf9d
  6. Jan 27, 2021
    • Vladimir Sementsov-Ogievskiy's avatar
      iotests: rewrite check into python · f203080b
      Vladimir Sementsov-Ogievskiy authored
      
      Just use classes introduced in previous three commits. Behavior
      difference is described in these three commits.
      
      Drop group file, as it becomes unused.
      
      Drop common.env: now check is in python, and for tests we use same
      python interpreter that runs the check itself. Use build environment
      PYTHON in check-block instead, to keep "make check" use the same
      python.
      
      Checking for virtio-blk moved to iotests.py, as it actually iotests.py
      dependency. Actually not all python iotests depend on it, so in future
      it may be refactored to checked only when really needed.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-Id: <20210125185056.129513-6-vsementsov@virtuozzo.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      f203080b
  7. Jan 23, 2021
  8. Jan 18, 2021
  9. Jan 02, 2021
  10. Nov 09, 2020
  11. Oct 27, 2020
  12. Oct 26, 2020
  13. Oct 17, 2020
  14. Oct 06, 2020
  15. Oct 03, 2020
    • Richard Henderson's avatar
      capstone: Convert Makefile bits to meson bits · 8b18cdbf
      Richard Henderson authored
      
      There are better ways to do this, e.g. meson cmake subproject,
      but that requires cmake 3.7 and some of our CI environments
      only provide cmake 3.5.
      
      Nor can we add a meson.build file to capstone/, because the git
      submodule would then always report "untracked files".  Fixing that
      would require creating our own branch on the qemu git mirror, at
      which point we could just as easily create a native meson subproject.
      
      Instead, build the library via the main meson.build.
      
      This improves the current state of affairs in that we will re-link
      the qemu executables against a changed libcapstone.a, which we wouldn't
      do before-hand.  In addition, the use of the configuration header file
      instead of command-line -DEFINES means that we will rebuild the
      capstone objects with changes to meson.build.
      
      Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      8b18cdbf
  16. Sep 30, 2020
  17. Sep 29, 2020
    • Peter Maydell's avatar
      docs/interop: Convert qemu-qmp-ref to rST · 4ac2ee19
      Peter Maydell authored
      
      Convert qemu-qmp-ref to rST format. This includes dropping
      the plain-text, pdf and info format outputs for this document;
      as with all our other Sphinx-based documentation, we provide
      HTML and manpage only.
      
      The qemu-qmp-ref.rst is somewhat more stripped down than
      the .texi was, because we do not (currently) attempt to
      generate indexes for the commands, events and data types
      being documented.
      
      Again, we drop the direct link from index.html.in now that
      the QMP ref is part of the interop manual.
      
      This commit removes the code from the root meson.build file that
      handled the various Texinfo-based outputs, because we no longer
      generate any documentation except for the Sphinx HTML manuals and the
      manpages, and the code can't handle having an empty list of files
      to process.. We'll do further cleanup of the remainders of
      Texinfo support in subsequent commits.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-Id: <20200925162316.21205-10-peter.maydell@linaro.org>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      [Unicode legacy literal dumbed down to plain string literal, TODO
      comment on displaying QEMU version added, "make html" fixed,
      storage-daemon/qapi/meson.build updated]
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      4ac2ee19
  18. Sep 13, 2020
  19. Sep 10, 2020
  20. Sep 08, 2020
  21. Sep 01, 2020
Loading