Skip to content
Snippets Groups Projects
  1. Sep 23, 2019
  2. Sep 20, 2019
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/cleber/tags/python-next-pull-request' into staging · 4300b7c2
      Peter Maydell authored
      
      Python (acceptance tests) queue, 2019-09-19
      
      # gpg: Signature made Thu 19 Sep 2019 17:24:04 BST
      # gpg:                using RSA key 7ABB96EB8B46B94D5E0FE9BB657E8D33A5F209F3
      # gpg: Good signature from "Cleber Rosa <crosa@redhat.com>" [marginal]
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 7ABB 96EB 8B46 B94D 5E0F  E9BB 657E 8D33 A5F2 09F3
      
      * remotes/cleber/tags/python-next-pull-request:
        BootLinuxSshTest: Only run the tests when explicitly requested
        tests/acceptance: Specify arch for QueryCPUModelExpansion
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      4300b7c2
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-request' into staging · f5c7af62
      Peter Maydell authored
      
      Trivial patches 20190919
      
      # gpg: Signature made Thu 19 Sep 2019 14:50:55 BST
      # gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
      # gpg:                issuer "laurent@vivier.eu"
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/trivial-branch-pull-request:
        configure: Add xkbcommon configure options
        kvm: Fix typo in header of kvm_device_access()
        Fix cacheline detection on FreeBSD/powerpc.
        build: Don't ignore qapi-visit-core.c
        target/m68k/fpu_helper.c: rename the access arguments
        Replace '-machine accel=xyz' with '-accel xyz'
        cutils: Move size_to_str() from "qemu-common.h" to "qemu/cutils.h"
        vfio: fix a typo
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      f5c7af62
    • Peter Maydell's avatar
      Makefile: Fix in-tree builds when Sphinx is available · b53c54c6
      Peter Maydell authored
      
      In commit 27a296fc we switched the qemu-ga manpage over to
      being built from Sphinx.  The makefile rules for this were correct
      for an out-of-tree build, but break for in-tree builds if Sphinx is
      present and we're trying to build the documentation.
      
      Specifically, because Sphinx refuses to build output files into
      the same directory as its sources, for an in-tree build we tell
      it to build into a subdirectory docs/built, and set up a makefile
      variable MANUAL_BUILDDIR indicating where the docs are going.
      The makefile rule telling Make how to build qemu-ga.8 correctly
      used this variable, but the lines adding qemu-ga.8 to the list
      of DOCS to be built and the 'make install' rune did not. The
      effect was that for an in-tree build we told Make to build
      'docs/interop/qemu-ga.8' but did not provide a specific rule for
      doing so, which caused Make to fall back to the old rules.make
      rule for building any "%.8" file. Make tried to invoke texi2pod
      with a bogus command line, resulting in the error:
      
        GEN     docs/interop/qemu-ga.8
      No filename or title
      make: *** [rules.mak:394: docs/interop/qemu-ga.8]
      
      Fix this by using $(MANUAL_BUILDDIR) when constructing the
      list of DOCS files we want to build and also in the source
      file name we install for 'make install'.
      
      (Among other things, this broke the Shippable CI builds.)
      
      Fixes: 27a296fc
      Reported-by: default avatarEric Blake <eblake@redhat.com>
      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: 20190919155957.12618-1-peter.maydell@linaro.org
      Tested-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      b53c54c6
  3. Sep 19, 2019
  4. Sep 18, 2019
    • Philippe Mathieu-Daudé's avatar
      trace: Forbid event format ending with newline character · 9f7ad79c
      Philippe Mathieu-Daudé authored
      
      Event format ending with newlines confuse the trace reports.
      Forbid them.
      
      Add a check to refuse new format added with trailing newline:
      
        $ make
        [...]
          GEN     hw/misc/trace.h
        Traceback (most recent call last):
          File "scripts/tracetool.py", line 152, in <module>
            main(sys.argv)
          File "scripts/tracetool.py", line 143, in main
            events.extend(tracetool.read_events(fh, arg))
          File "scripts/tracetool/__init__.py", line 367, in read_events
            event = Event.build(line)
          File "scripts/tracetool/__init__.py", line 281, in build
            raise ValueError("Event format can not end with a newline character")
        ValueError: Error at hw/misc/trace-events:121: Event format can not end with a newline character
      
      Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
      Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-id: 20190916095121.29506-3-philmd@redhat.com
      Message-Id: <20190916095121.29506-3-philmd@redhat.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      9f7ad79c
Loading