Skip to content
Snippets Groups Projects
  1. Mar 06, 2020
  2. Feb 25, 2020
  3. Feb 22, 2020
  4. Feb 21, 2020
  5. Feb 15, 2020
  6. Feb 14, 2020
  7. Feb 10, 2020
  8. Feb 04, 2020
    • Thomas Huth's avatar
      Makefile: Do not use wildcard hw/*/Kconfig as input for minikconf · ea763fd2
      Thomas Huth authored
      
      The hw/*/Kconfig files should be sourced from hw/Kconfig, so there
      is no need to pass them along as input files to minikconfig. We should
      use the hw/*/Kconfig wildcard only for build dependencies in the Makefile.
      
      With this change, there are now no duplicate entries in the generated
      *-softmmu/config-devices.mak.d files anymore, and there is finally a
      chance to get rid of stale Kconfig files like hw/bt/Kconfig, too (once
      they do not show up in the config-devices.mak.d files now anymore).
      
      Message-Id: <20200203153905.20544-1-thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      ea763fd2
  9. Feb 03, 2020
    • Peter Maydell's avatar
      virtfs-proxy-helper: Convert documentation to rST · 78813586
      Peter Maydell authored
      
      The virtfs-proxy-helper documentation is currently in
      fsdev/qemu-trace-stap.texi in Texinfo format, which we
      present to the user as:
       * a virtfs-proxy-helper manpage
       * but not (unusually for QEMU) part of the HTML docs
      
      Convert the documentation to rST format that lives in
      the docs/ subdirectory, and present it to the user as:
       * a virtfs-proxy-helper manpage
       * part of the interop/ Sphinx manual
      
      There are minor formatting changes to suit Sphinx, but no
      content changes. In particular I've split the -u and -g
      options into each having their own description text.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Acked-by: default avatarGreg Kurz <groug@kaod.org>
      Message-id: 20200124162606.8787-9-peter.maydell@linaro.org
      78813586
    • Peter Maydell's avatar
      scripts/qemu-trace-stap: Convert documentation to rST · 605ffebb
      Peter Maydell authored
      
      The qemu-trace-stap documentation is currently in
      scripts/qemu-trace-stap.texi in Texinfo format, which we
      present to the user as:
       * a qemu-trace-stap manpage
       * but not (unusually for QEMU) part of the HTML docs
      
      Convert the documentation to rST format that lives in
      the docs/ subdirectory, and present it to the user as:
       * a qemu-trace-stap manpage
       * part of the interop/ Sphinx manual
      
      There are minor formatting changes to suit Sphinx, but no
      content changes.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Tested-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-id: 20200124162606.8787-8-peter.maydell@linaro.org
      605ffebb
    • Peter Maydell's avatar
      qemu-img: Convert invocation documentation to rST · e13c59fa
      Peter Maydell authored
      
      The qemu-img documentation is currently in qemu-nbd.texi in Texinfo
      format, which we present to the user as:
       * a qemu-img manpage
       * a section of the main qemu-doc HTML documentation
      
      Convert the documentation to rST format, and present it to the user as:
       * a qemu-img manpage
       * part of the interop/ Sphinx manual
      
      The qemu-img rST document uses the new hxtool extension
      to handle pulling rST fragments out of qemu-img-cmds.hx.
      
      The documentation of the various options and commands is rather
      muddled, with some options being described inside the relevant
      command description and some in a more general section near the start
      of the manual.  All the command synopses are replicated in the .hx
      file and then again in the manual.  A lot of text is also duplicated
      in the qemu-img.c code for the help text.  I have not attempted to
      deal with any of this, but have simply transposed the existing
      structure into rST.
      
      As usual, there are some minor formatting changes but no
      textual changes, except that as with one or two other conversions
      I have dropped the 'see also' section since it's not very
      informative and looks odd in the HTML.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Tested-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-id: 20200124162606.8787-6-peter.maydell@linaro.org
      e13c59fa
    • Peter Maydell's avatar
      Makefile: Ensure we don't run Sphinx in parallel for manpages · e0f3728d
      Peter Maydell authored
      Sphinx will corrupt its doctree cache if we run two copies
      of it in parallel. In commit 6bda415c we worked
      around this by having separate doctrees for 'html' vs 'manpage'
      runs. However now that we have more than one manpage produced
      from a single manual we can run into this again when trying
      to produce the two manpages.
      
      Use the trick described in 'Atomic Rules in GNU Make'
      https://www.cmcrossroads.com/article/atomic-rules-gnu-make
      
      
      to ensure that we only run the Sphinx manpage builder once
      for each manual, even if we're producing several manpages.
      This fixes doctree corruption in parallel builds and also
      avoids pointlessly running Sphinx more often than we need to.
      
      (In GNU Make 4.3 there is builtin support for this, via
      the "&:" syntax, but we can't wait for that to be available
      in all the distros we support...)
      
      The generic "one invocation for multiple output files"
      machinery is provided as a macro named 'atomic' in rules.mak;
      we then wrap this in a more specific macro for defining
      the rule and dependencies for the manpages in a Sphinx
      manual, to avoid excessive repetition.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Tested-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-id: 20200124162606.8787-2-peter.maydell@linaro.org
      e0f3728d
  10. Feb 02, 2020
  11. Jan 24, 2020
    • Paolo Bonzini's avatar
      build-sys: clean up flags included in the linker command line · db5adeaa
      Paolo Bonzini authored
      
      Some of the CFLAGS that are discovered during configure, for example
      compiler warnings, are being included on the linker command line because
      QEMU_CFLAGS is added to it.  Other flags, such as the -m32, appear twice
      because they are included in both QEMU_CFLAGS and LDFLAGS.  All this
      leads to confusion with respect to what goes in which Makefile variables
      (and we have plenty).
      
      So, introduce QEMU_LDFLAGS for flags discovered by configure, following
      the lead of QEMU_CFLAGS, and stop adding to it:
      
      1) options that are already in CFLAGS, for example "-g"
      
      2) duplicate options
      
      At the same time, options that _are_ needed by both compiler and linker
      must now be added to both QEMU_CFLAGS and QEMU_LDFLAGS, which is clearer.
      This is mostly -fsanitize options.  For now, --extra-cflags has this behavior
      (but --extra-cxxflags does not).
      
      Meson will not include CFLAGS on the linker command line, do the same in our
      build system as well.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      db5adeaa
  12. Jan 23, 2020
  13. Jan 21, 2020
  14. Jan 14, 2020
  15. Jan 12, 2020
    • Stefan Hajnoczi's avatar
      docs: build an index page for the HTML docs · 22108f33
      Stefan Hajnoczi authored
      
      There is no index.html start page for the QEMU HTML documentation.  An
      index page is needed so that documentation can be browsed easily on the
      web.
      
      This patch adds an index.html.in template file where the QEMU version
      number is expanded.  It is written in HTML instead of using the existing
      sphinx (rST) and texi documentation generators because they are
      heavyweight and would make this harder.
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Message-Id: <20191219135620.1626608-1-stefanha@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      22108f33
  16. Dec 17, 2019
Loading