Skip to content
Snippets Groups Projects
  1. Mar 06, 2020
    • Kevin Wolf's avatar
      qemu-storage-daemon: Add barebone tool · f353415f
      Kevin Wolf authored
      
      This adds a new binary qemu-storage-daemon that doesn't yet do more than
      some typical initialisation for tools and parsing the basic command
      options --version, --help and --trace.
      
      Even though this doesn't add any options yet that create things (like
      --object or --blockdev), already document that we're planning to process
      them in the order they are given on the command line rather than trying
      (and failing, like vl.c) to resolve dependencies between options
      automatically.
      
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Message-Id: <20200224143008.13362-2-kwolf@redhat.com>
      Acked-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      f353415f
  2. Mar 04, 2020
  3. Feb 28, 2020
  4. Feb 22, 2020
  5. Feb 19, 2020
  6. Feb 15, 2020
    • Peter Maydell's avatar
      configure: Check that sphinx-build is using Python 3 · 758b617a
      Peter Maydell authored
      
      Currently configure's has_sphinx_build() check simply runs a dummy
      sphinx-build and either passes or fails.  This means that "no
      sphinx-build at all" and "sphinx-build exists but is too old" are
      both reported the same way.
      
      Further, we want to assume that all the Python we write is running
      with at least Python 3.5; configure checks that for our scripts, but
      Sphinx extensions run with whatever Python version sphinx-build
      itself is using.
      
      Add a check to our conf.py which makes sphinx-build fail if it would
      be running our extensions with an old Python, and handle this
      in configure so we can report failure helpfully to the user.
      This will mean that configure --enable-docs will fail like this
      if the sphinx-build provided is not suitable:
      
      Warning: sphinx-build exists but it is either too old or uses too old a Python version
      
      ERROR: User requested feature docs
             configure was not able to find it.
             Install texinfo, Perl/perl-podlators and a Python 3 version of python-sphinx
      
      (As usual, the default is to simply not build the docs, as we would
      if sphinx-build wasn't present at all.)
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarWainer dos Santos Moschetta <wainersm@redhat.com>
      Message-Id: <20200213175647.17628-3-peter.maydell@linaro.org>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      758b617a
    • Markus Armbruster's avatar
      configure: Pick sphinx-build-3 when available · 903458c8
      Markus Armbruster authored
      
      The next commit will require a sphinx-build that uses Python 3.  On
      some systems, sphinx-build is fine, on others you need to use
      sphinx-build-3.  To keep things working out of the box on both kinds
      of systems, try sphinx-build-3, then sphinx-build.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <87a75lqe8e.fsf@dusky.pond.sub.org>
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      903458c8
  7. Feb 14, 2020
  8. Feb 12, 2020
  9. Feb 10, 2020
  10. Feb 04, 2020
  11. Jan 30, 2020
  12. 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
    • Philippe Mathieu-Daudé's avatar
      configure: Do not build libfdt if not required · 7ba4a4d3
      Philippe Mathieu-Daudé authored
      
      We only require libfdt for system emulation, in a small set
      of architecture:
      
      4077  # fdt support is mandatory for at least some target architectures,
      4078  # so insist on it if we're building those system emulators.
      4079  fdt_required=no
      4080  for target in $target_list; do
      4081    case $target in
      4082      aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu|riscv*-softmmu)
      4083        fdt_required=yes
      
      Do not build libfdt if we did not manually specified --enable-fdt,
      or have one of the platforms that require it in our target list.
      
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20200118140619.26333-2-philmd@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      7ba4a4d3
  13. Jan 23, 2020
  14. Jan 22, 2020
  15. Jan 16, 2020
  16. Jan 12, 2020
  17. Jan 10, 2020
  18. Jan 06, 2020
  19. Dec 20, 2019
  20. Dec 18, 2019
  21. Dec 17, 2019
    • Paolo Bonzini's avatar
      build: rename CONFIG_LIBCAP to CONFIG_LIBCAP_NG · a358bca2
      Paolo Bonzini authored
      
      Since we are actually testing for the newer capng library, rename the
      symbol to match.
      
      Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      a358bca2
    • Paolo Bonzini's avatar
      configure: set $PYTHON to a full path · 95c5f2de
      Paolo Bonzini authored
      
      This will make it possible to replace it in a shebang line.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      95c5f2de
    • Paolo Bonzini's avatar
      libvixl: remove per-target compiler flags · 53422040
      Paolo Bonzini authored
      
      We are already including -D__STDC_LIMIT_MACROS in the global CXXFLAGS,
      so it makes sense to do the same for -D__STDC_CONSTANT_MACROS and
      -D__STDC_FORMAT_MACROS instead of limiting that to libvixl.
      
      The -Wno-sign-compare option can also be removed since GCC 4.6 is not
      supported anymore.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      53422040
    • Paolo Bonzini's avatar
      build-sys: do not include Windows SLIRP dependencies in $LIBS · b965e8c5
      Paolo Bonzini authored
      
      When including the internal SLIRP library, we should add all the libraries that
      it needs for the build.  Right now they are all included by QEMU, but -liphlpapi
      is not needed without slirp.  Move it from LIBS to slirp_libs.
      
      Based on a patch by Marc-André Lureau.
      
      Acked-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      b965e8c5
    • Thomas Huth's avatar
      Remove the core bluetooth code · 1d4ffe8d
      Thomas Huth authored
      
      It's been deprecated since QEMU v3.1. We've explicitly asked in the
      deprecation message that people should speak up on qemu-devel in case
      they are still actively using the bluetooth part of QEMU, but nobody
      ever replied that they are really still using it.
      
      I've tried it on my own to use this bluetooth subsystem for one of my
      guests, but I was also not able to get it running anymore: When I was
      trying to pass-through a real bluetooth device, either the guest did
      not see the device at all, or the guest crashed.
      
      Even worse for the emulated device: When running
      
       qemu-system-x86_64 -bt device:keyboard
      
      QEMU crashes once you hit a key.
      
      So it seems like the bluetooth stack is not only neglected, it is
      completely bitrotten, as far as I can tell. The only attention that
      this code got during the past years were some CVEs that have been
      spotted there. So this code is a burden for the developers, without
      any real benefit anymore. Time to remove it.
      
      Note: hw/bt/Kconfig only gets cleared but not removed here yet.
      Otherwise there is a problem with the *-softmmu/config-devices.mak.d
      dependency files - they still contain a reference to this file which
      gets evaluated first on some build hosts, before the file gets
      properly recreated. To avoid breaking these builders, we still need
      the file around for some time. It will get removed in a couple of
      weeks instead.
      
      Message-Id: <20191120091014.16883-4-thuth@redhat.com>
      Reviewed-by: default avatarJán Tomko <jtomko@redhat.com>
      Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      1d4ffe8d
  22. Dec 02, 2019
  23. Nov 11, 2019
  24. Nov 06, 2019
  25. Oct 28, 2019
Loading