[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 02324a: qemu-plugin.h: add missing include <s
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 02324a: qemu-plugin.h: add missing include <stddef.h> to d... |
Date: |
Thu, 11 Jun 2020 03:30:33 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 02324a475c7df4223d63d631d0cead61f0efeb03
https://github.com/qemu/qemu/commit/02324a475c7df4223d63d631d0cead61f0efeb03
Author: Emilio G. Cota <cota@braap.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M include/qemu/qemu-plugin.h
Log Message:
-----------
qemu-plugin.h: add missing include <stddef.h> to define size_t
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200524202427.951784-1-cota@braap.org>
Message-Id: <20200605154929.26910-2-alex.bennee@linaro.org>
Commit: a6703e65ecfe3a57f122abdf1f8353fb60927a43
https://github.com/qemu/qemu/commit/a6703e65ecfe3a57f122abdf1f8353fb60927a43
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M scripts/clean-includes
Log Message:
-----------
scripts/clean-includes: Mark 'qemu/qemu-plugin.h' as special header
"qemu/qemu-plugin.h" isn't meant to be include by QEMU codebase,
but by 3rd party plugins that QEMU can use. These plugins can be
built out of QEMU and don't include "qemu/osdep.h".
Mark "qemu/qemu-plugin.h" as a special header that doesn't need
to be cleaned for "qemu/osdep.h".
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200524215654.13256-1-f4bug@amsat.org>
Message-Id: <20200605154929.26910-3-alex.bennee@linaro.org>
Commit: 4e62bfa9ee54d071c656d12057b7d293ca22d423
https://github.com/qemu/qemu/commit/4e62bfa9ee54d071c656d12057b7d293ca22d423
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M tests/plugin/mem.c
Log Message:
-----------
tests/plugin: correctly honour io_count
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200605154929.26910-4-alex.bennee@linaro.org>
Commit: 2e886a242cf540d716d431a55071a717d562eb69
https://github.com/qemu/qemu/commit/2e886a242cf540d716d431a55071a717d562eb69
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M exec.c
Log Message:
-----------
exec: flush the whole TLB if a watchpoint crosses a page boundary
There is no particular reason why you can't have a watchpoint in TCG
that covers a large chunk of the address space. We could be clever
about it but these cases are pretty rare and we can assume the user
will expect a little performance degradation.
NB: In my testing gdb will silently squash a watchpoint like:
watch (char[0x7fffffffff]) *0x0
to a 4 byte watchpoint. Practically it will limit the maximum size
based on max-value-size. However given enough of a tweak the sky is
the limit.
Reported-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200605154929.26910-5-alex.bennee@linaro.org>
Commit: 1de8e4c4dcf2af8e1c7d95f1d3c42d0c35b96295
https://github.com/qemu/qemu/commit/1de8e4c4dcf2af8e1c7d95f1d3c42d0c35b96295
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M .travis.yml
Log Message:
-----------
.travis.yml: allow failure for unreliable hosts
They will still run but they won't get in the way of the result.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200605154929.26910-6-alex.bennee@linaro.org>
Commit: 12d43b5ae916809aad9ccf8aa2a0a06260527340
https://github.com/qemu/qemu/commit/12d43b5ae916809aad9ccf8aa2a0a06260527340
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M .shippable.yml
Log Message:
-----------
.shippable: temporaily disable some cross builds
These currently fail due to Debian bug #960271 as the
linux-libc-library has a user-space build breaking symbol in it.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200605154929.26910-7-alex.bennee@linaro.org>
Commit: e035e6ffed3e3943920c93b19ca1d92444add4f8
https://github.com/qemu/qemu/commit/e035e6ffed3e3943920c93b19ca1d92444add4f8
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M tests/docker/Makefile.include
Log Message:
-----------
tests/docker: fix pre-requisite for debian-tricore-cross
Reported-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200605154929.26910-9-alex.bennee@linaro.org>
Commit: a97098844b9e4d2d1c3a24f66b8e2c7f97b3a795
https://github.com/qemu/qemu/commit/a97098844b9e4d2d1c3a24f66b8e2c7f97b3a795
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M tests/docker/dockerfiles/ubuntu.docker
Log Message:
-----------
docker: update Ubuntu to 20.04
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200604231716.11354-1-pbonzini@redhat.com>
Message-Id: <20200605154929.26910-10-alex.bennee@linaro.org>
Commit: 083b9bd7a1c526d57ec17b23dd6eca414e808886
https://github.com/qemu/qemu/commit/083b9bd7a1c526d57ec17b23dd6eca414e808886
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M hw/virtio/trace-events
M hw/virtio/vhost.c
Log Message:
-----------
hw/virtio/vhost: re-factor vhost-section and allow DIRTY_MEMORY_CODE
The purpose of vhost_section is to identify RAM regions that need to
be made available to a vhost client. However when running under TCG
all RAM sections have DIRTY_MEMORY_CODE set which leads to problems
down the line.
Re-factor the code so:
- steps are clearer to follow
- reason for rejection is recorded in the trace point
- we allow DIRTY_MEMORY_CODE
We expand the comment to explain that kernel based vhost has specific
support for migration tracking.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Fabiano Rosas <farosas@linux.ibm.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200605154929.26910-11-alex.bennee@linaro.org>
Commit: ad592e37dfccf730378a44c5fa79acb603a7678d
https://github.com/qemu/qemu/commit/ad592e37dfccf730378a44c5fa79acb603a7678d
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M linux-user/elfload.c
Log Message:
-----------
linux-user: provide fallback pgd_find_hole for bare chroots
When running QEMU out of a chroot environment we may not have access
to /proc/self/maps. As there is no other "official" way to introspect
our memory map we need to fall back to the original technique of
repeatedly trying to mmap an address range until we find one that
works.
Fortunately it's not quite as ugly as the original code given we
already re-factored the complications of dealing with the
ARM_COMMPAGE. We do make an attempt to skip over brk() which is about
the only concrete piece of information we have about the address map
at this moment.
Fixes: ee9474303
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200605154929.26910-12-alex.bennee@linaro.org>
Commit: 5c3e87f345ac93de9260f12c408d2afd87a6ab3b
https://github.com/qemu/qemu/commit/5c3e87f345ac93de9260f12c408d2afd87a6ab3b
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M linux-user/elfload.c
Log Message:
-----------
linux-user: deal with address wrap for ARM_COMMPAGE on 32 bit
We rely on the pointer to wrap when accessing the high address of the
COMMPAGE so it lands somewhere reasonable. However on 32 bit hosts we
cannot afford just to map the entire 4gb address range. The old mmap
trial and error code handled this by just checking we could map both
the guest_base and the computed COMMPAGE address.
We can't just manipulate loadaddr to get what we want so we introduce
an offset which pgb_find_hole can apply when looking for a gap for
guest_base that ensures there is space left to map the COMMPAGE
afterwards.
This is arguably a little inefficient for the one 32 bit
value (kuser_helper_version) we need to keep there given all the
actual code entries are picked up during the translation phase.
Fixes: ee94743034b
Bug: https://bugs.launchpad.net/qemu/+bug/1880225
Cc: Bug 1880225 <1880225@bugs.launchpad.net>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200605154929.26910-13-alex.bennee@linaro.org>
Commit: b6771210b5bba543628b8eeacfea9f994372f880
https://github.com/qemu/qemu/commit/b6771210b5bba543628b8eeacfea9f994372f880
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M tests/tcg/arm/Makefile.target
A tests/tcg/arm/commpage.c
Log Message:
-----------
tests/tcg: add simple commpage test case
The COMMPAGE are a number of kernel provided user-space routines for
32 bit ARM systems. Add a basic series of smoke tests to ensure it is
working as it should.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200605154929.26910-14-alex.bennee@linaro.org>
Commit: 8ef618859c379fdce81c91bc93e0574e36ea76ff
https://github.com/qemu/qemu/commit/8ef618859c379fdce81c91bc93e0574e36ea76ff
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M linux-user/mmap.c
Log Message:
-----------
linux-user: detect overflow of MAP_FIXED mmap
Relaxing the restrictions on 64 bit guests leads to the user being
able to attempt to map right at the edge of addressable memory. This
in turn lead to address overflow tripping the assert in page_set_flags
when the end address wrapped around.
Detect the wrap earlier and correctly -ENOMEM the guest (in the
reported case LTP mmap15).
Fixes: 7d8cbbabcb
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reported-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200605154929.26910-15-alex.bennee@linaro.org>
Commit: c6dd82e8a6348096cf7c66a9c1b8a5815aa4ff91
https://github.com/qemu/qemu/commit/c6dd82e8a6348096cf7c66a9c1b8a5815aa4ff91
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M tests/docker/dockerfiles/centos7.docker
M tests/docker/dockerfiles/centos8.docker
M tests/docker/dockerfiles/debian-xtensa-cross.docker
M tests/docker/dockerfiles/debian10.docker
M tests/docker/dockerfiles/debian9.docker
M tests/docker/dockerfiles/fedora.docker
M tests/docker/dockerfiles/ubuntu.docker
M tests/docker/dockerfiles/ubuntu1804.docker
Log Message:
-----------
tests/docker: Remove flex/bison packages
QEMU does not use flex/bison packages.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200515163029.12917-2-philmd@redhat.com>
Commit: e661e9580cb78b04bc2b843cee8ed23fbef1f311
https://github.com/qemu/qemu/commit/e661e9580cb78b04bc2b843cee8ed23fbef1f311
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M tests/vm/fedora
M tests/vm/freebsd
M tests/vm/netbsd
M tests/vm/openbsd
M tests/vm/ubuntu.i386
Log Message:
-----------
tests/vm: Remove flex/bison packages
QEMU does not use flex/bison packages.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200515163029.12917-3-philmd@redhat.com>
Commit: 48ba32e62210fde35c1d0dc6164233bcc8bb331d
https://github.com/qemu/qemu/commit/48ba32e62210fde35c1d0dc6164233bcc8bb331d
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M .cirrus.yml
Log Message:
-----------
cirrus-ci: Remove flex/bison packages
QEMU does not use flex/bison packages.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Li-Wen Hsu <lwhsu@freebsd.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200515163029.12917-5-philmd@redhat.com>
Commit: a5b04ccd742f6c58a1d305530d9e07ad9731b8e6
https://github.com/qemu/qemu/commit/a5b04ccd742f6c58a1d305530d9e07ad9731b8e6
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M scripts/coverity-scan/coverity-scan.docker
Log Message:
-----------
scripts/coverity-scan: Remove flex/bison packages
QEMU does not use flex/bison packages.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200515163029.12917-6-philmd@redhat.com>
Commit: 9e7f1469b9994d910fc1b185c657778bde51639c
https://github.com/qemu/qemu/commit/9e7f1469b9994d910fc1b185c657778bde51639c
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2020-06-09 (Tue, 09 Jun 2020)
Changed paths:
M .cirrus.yml
M .shippable.yml
M .travis.yml
M exec.c
M hw/virtio/trace-events
M hw/virtio/vhost.c
M include/qemu/qemu-plugin.h
M linux-user/elfload.c
M linux-user/mmap.c
M scripts/clean-includes
M scripts/coverity-scan/coverity-scan.docker
M tests/docker/Makefile.include
M tests/docker/dockerfiles/centos7.docker
M tests/docker/dockerfiles/centos8.docker
M tests/docker/dockerfiles/debian-xtensa-cross.docker
M tests/docker/dockerfiles/debian10.docker
M tests/docker/dockerfiles/debian9.docker
M tests/docker/dockerfiles/fedora.docker
M tests/docker/dockerfiles/ubuntu.docker
M tests/docker/dockerfiles/ubuntu1804.docker
M tests/plugin/mem.c
M tests/tcg/arm/Makefile.target
A tests/tcg/arm/commpage.c
M tests/vm/fedora
M tests/vm/freebsd
M tests/vm/netbsd
M tests/vm/openbsd
M tests/vm/ubuntu.i386
Log Message:
-----------
Merge remote-tracking branch
'remotes/stsquad/tags/pull-testing-and-misc-080620-1' into staging
Various testing and misc fixes:
- header cleanups for plugins
- support wider watchpoints
- tweaks for unreliable and broken CI
- docker image fixes and verion bumps
- linux-user guest_base fixes
- remove flex/bison from various test images
# gpg: Signature made Mon 08 Jun 2020 17:16:19 BST
# gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key)
<alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44
* remotes/stsquad/tags/pull-testing-and-misc-080620-1:
scripts/coverity-scan: Remove flex/bison packages
cirrus-ci: Remove flex/bison packages
tests/vm: Remove flex/bison packages
tests/docker: Remove flex/bison packages
linux-user: detect overflow of MAP_FIXED mmap
tests/tcg: add simple commpage test case
linux-user: deal with address wrap for ARM_COMMPAGE on 32 bit
linux-user: provide fallback pgd_find_hole for bare chroots
hw/virtio/vhost: re-factor vhost-section and allow DIRTY_MEMORY_CODE
docker: update Ubuntu to 20.04
tests/docker: fix pre-requisite for debian-tricore-cross
.shippable: temporaily disable some cross builds
.travis.yml: allow failure for unreliable hosts
exec: flush the whole TLB if a watchpoint crosses a page boundary
tests/plugin: correctly honour io_count
scripts/clean-includes: Mark 'qemu/qemu-plugin.h' as special header
qemu-plugin.h: add missing include <stddef.h> to define size_t
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/31d321c2b357...9e7f1469b999
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 02324a: qemu-plugin.h: add missing include <stddef.h> to d...,
Peter Maydell <=