Skip to content
Snippets Groups Projects
  1. Feb 15, 2020
    • Peter Maydell's avatar
      qga/qapi-schema.json: minor format fixups for rST · a7b6e896
      Peter Maydell authored
      
      We would like to switch the doc comments to rST format, and rST
      requires a blank line before the start of a bulleted or enumerated
      list. Two places in qapi-schema.json were missing this blank line.
      
      Some places were using an indented line as a sort of single-item
      bulleted list, which in the Texinfo output comes out all run
      onto a single line; use a real bulleted list instead.
      
      Some places unnecessarily indented lists, which confuses rST.
      
      guest-fstrim:minimum's documentation was indented the
      right amount to share a line with @minimum, but wasn't
      actually doing so.
      
      The indent on the bulleted list in the guest-set-vcpus
      Returns section meant rST misindented it.
      
      Changes to the generated Texinfo are very minor (the new
      bulleted lists, and a few extra blank lines).
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-Id: <20200213175647.17628-7-peter.maydell@linaro.org>
      [Commit message tweaked]
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      a7b6e896
    • Peter Maydell's avatar
      qga/qapi-schema.json: Fix indent level on doc comments · 883aff68
      Peter Maydell authored
      
      The current doc generation doesn't care much about indentation levels,
      but we would like to switch to an rST format, and rST does care about
      indentation.
      
      Make the doc comments more strongly consistent about indentation
      for multiline constructs like:
      
      @arg: description line 1
            description line 2
      
      Returns: line one
               line 2
      
      so that there is always exactly one space after the colon, and
      subsequent lines align with the first.
      
      This commit is a purely whitespace change, and it does not alter the
      generated .texi files (because the texi generation code strips away
      all the extra whitespace).  This does mean that we end up with some
      over-length lines.
      
      Note that when the documentation for an argument fits on a single
      line like this:
      
      @arg: one line only
      
      then stray extra spaces after the ':' don't affect the rST output, so
      I have not attempted to methodically fix them, though the preference
      is a single space here too.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20200213175647.17628-6-peter.maydell@linaro.org>
      [Commit message tweaked]
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      883aff68
    • Peter Maydell's avatar
      qga/qapi-schema.json: Fix missing '-' in GuestDiskBusType doc comment · 72ec8bf3
      Peter Maydell authored
      
      The doc comment for GuestDiskBusType doesn't match up with the
      enumeration because of a missing hyphen in 'file-backed-virtual'.
      This means the docs are rendered wrongly:
             "virtual"
                 Win virtual bus type "file-backed" virtual: Win file-backed bus type
      
             "file-backed-virtual"
                 Not documented
      
      Add the missing hyphen.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20200213175647.17628-5-peter.maydell@linaro.org>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      72ec8bf3
  2. 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
  3. Jan 14, 2020
  4. Dec 18, 2019
  5. Dec 14, 2019
  6. Nov 04, 2019
  7. Sep 03, 2019
  8. Jun 12, 2019
    • Markus Armbruster's avatar
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster authored
      
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326
    • Markus Armbruster's avatar
      Include qemu/module.h where needed, drop it from qemu-common.h · 0b8fa32f
      Markus Armbruster authored
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-4-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c
      hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c;
      ui/cocoa.m fixed up]
      0b8fa32f
  9. May 13, 2019
  10. May 07, 2019
  11. Mar 18, 2019
  12. Jan 11, 2019
  13. Dec 18, 2018
  14. Nov 09, 2018
  15. Oct 31, 2018
Loading