qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9b109f: editorconfig: add setting for shell s


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 9b109f: editorconfig: add setting for shell scripts
Date: Thu, 13 Jun 2019 02:31:21 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9b109f566adff4d394806b046b395363e523bd80
      
https://github.com/qemu/qemu/commit/9b109f566adff4d394806b046b395363e523bd80
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M .editorconfig

  Log Message:
  -----------
  editorconfig: add setting for shell scripts

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 50290c002c045280f8defad911901e16bfb52884
      
https://github.com/qemu/qemu/commit/50290c002c045280f8defad911901e16bfb52884
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M qemu-io-cmds.c

  Log Message:
  -----------
  qemu-io-cmds: use clock_gettime for benchmarking

The previous use of gettimeofday() ran into undefined behaviour when
we ended up doing a div 0 for a very short operation. This is because
gettimeofday only works at the microsecond level as well as being
prone to discontinuous jumps in system time. Using clock_gettime with
CLOCK_MONOTONIC gives greater precision and alleviates some of the
potential problems with time jumping around.

We could use CLOCK_MONOTONIC_RAW to avoid being tripped up by NTP and
adjtime but that is Linux specific so I decided it would do for now.

Signed-off-by: Alex Bennée <address@hidden>


  Commit: c87e38399cf4c9b30c8e558c586725a895c877f7
      
https://github.com/qemu/qemu/commit/c87e38399cf4c9b30c8e558c586725a895c877f7
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/docker/dockerfiles/fedora.docker

  Log Message:
  -----------
  tests/docker: Update the Fedora image to Fedora 30

Fedora 30 got released:

  https://fedoramagazine.org/announcing-fedora-30/

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Marc-André Lureau <address@hidden>
Tested-by: Stefano Garzarella <address@hidden>
Reviewed-by: Stefano Garzarella <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: acc5c5061d084ba00b5dad35d35e85fe97acbdf8
      
https://github.com/qemu/qemu/commit/acc5c5061d084ba00b5dad35d35e85fe97acbdf8
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/docker/dockerfiles/fedora-cris-cross.docker
    M tests/docker/dockerfiles/fedora-i386-cross.docker

  Log Message:
  -----------
  tests/docker: Update the Fedora cross compile images to 30

While at it remove the bogus :latest tag for cris cross compiler. It
tends to break caching and cause confusion.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 248cf06cf2b47cda15324480cfc2bd407b4a7e15
      
https://github.com/qemu/qemu/commit/248cf06cf2b47cda15324480cfc2bd407b4a7e15
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/docker/dockerfiles/ubuntu.docker

  Log Message:
  -----------
  tests/docker: Update the Ubuntu image to 19.04

This has aged a little and we have a separate LTS image for testing on
the older distros. Update it to a more recent release like its Fedora
cousin.

Besides it is useful to have something with gcc-9 on it for squashing
those stringop truncation errors.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 3998c25e5368275257e2a44c483500a55510b3d0
      
https://github.com/qemu/qemu/commit/3998c25e5368275257e2a44c483500a55510b3d0
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  .travis.yml: bump gcc sanitiser job to gcc-9

The toolchain PPA has it so we might as well use it. We currently have
to add:

  -Wno-error=stringop-truncation

as there are still strncpy operations in the tree operating on things
that haven't been annotated with QEMU_NONSTRING.

Signed-off-by: Alex Bennée <address@hidden>


  Commit: 7831147edfeb3b0d54a7bff411bf41cc2398f924
      
https://github.com/qemu/qemu/commit/7831147edfeb3b0d54a7bff411bf41cc2398f924
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  .travis.yml: add clang ubsan job

We document this on our wiki and we might as well catch it in our CI
rather than waiting for it to be picked up on merge:

  https://wiki.qemu.org/Testing#clang_UBSan

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: b0040fa17bcf0e51d4a599ee82108ace830d4eac
      
https://github.com/qemu/qemu/commit/b0040fa17bcf0e51d4a599ee82108ace830d4eac
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/vm/Makefile.include

  Log Message:
  -----------
  tests/vm: Use python configured on build

Changed the vm-test makefile to execute python scripts
with the interpreter configured on build. This allows to
run vm-test targets properly in Linux distros with Python 3
only support.

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 3ad3e36e1469a37740b5ec41d8d917c5ecd40c16
      
https://github.com/qemu/qemu/commit/3ad3e36e1469a37740b5ec41d8d917c5ecd40c16
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/vm/basevm.py

  Log Message:
  -----------
  tests/vm: Port basevm to Python 3

Fixed tests/vm/basevm.py to run with Python 3:
 - hashlib.sha1() requires an binary encoded object.
 - uses floor division ("//") (PEP 238).
 - decode bytes to unicode when needed.

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: aea439138b97d5ab5032b2e00f5d99df9ef40f71
      
https://github.com/qemu/qemu/commit/aea439138b97d5ab5032b2e00f5d99df9ef40f71
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/vm/centos

  Log Message:
  -----------
  tests/vm: Fix build-centos docker-based tests run

`make vm-build-centos` run docker-based tests on CentOS. The
created containers should have network otherwise some tests
fail. Also fixed the BUILD_SCRIPT template to correctly
evaluate "V=1" for verbose output.

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: eec4b30ae6dff370599015792ed9f1c60e436c33
      
https://github.com/qemu/qemu/commit/eec4b30ae6dff370599015792ed9f1c60e436c33
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/vm/Makefile.include

  Log Message:
  -----------
  tests/vm: Add missing variables on help

Added description of variables missing on vm-test help.

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 8fc76176f60d6758641f50f43c2c4bcceab8a68d
      
https://github.com/qemu/qemu/commit/8fc76176f60d6758641f50f43c2c4bcceab8a68d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M scripts/archive-source.sh

  Log Message:
  -----------
  scripts: use git archive in archive-source

Use git archive to create tarballs of qemu and submodules instead of
cloning the repository and the submodules.  This is a order of magnitude
faster because it doesn't fetch the submodules from the internet each
time the script runs.

Signed-off-by: Gerd Hoffmann <address@hidden>
Tested-by: Thomas Huth <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[AJB: fixed up tabs]
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 3ace9be6d267b2f876ebb34096fe5d9b64a82d9a
      
https://github.com/qemu/qemu/commit/3ace9be6d267b2f876ebb34096fe5d9b64a82d9a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/vm/basevm.py

  Log Message:
  -----------
  tests/vm: python3 fixes

Add proper unicode handling when processing strings.
Also need to explicitly say we want int not float.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[AJB: fix conflicts with tests/vm: Port basevm to Python 3]
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 78e24848f6a2923f356d15d8751c644f94a39fd8
      
https://github.com/qemu/qemu/commit/78e24848f6a2923f356d15d8751c644f94a39fd8
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M hw/semihosting/console.c
    M include/hw/semihosting/console.h
    M linux-user/arm/semihost.c
    M target/arm/arm-semi.c

  Log Message:
  -----------
  semihosting: split console_out into string and char versions

This is ostensibly to avoid the weirdness of len looking like it might
come from a guest and sometimes being used. While we are at it fix up
the error checking for the arm-linux-user implementation of the API
which got flagged up by Coverity (CID 1401700).

Signed-off-by: Alex Bennée <address@hidden>


  Commit: 8c79b288513587e960b6b7257a9d955d5592f209
      
https://github.com/qemu/qemu/commit/8c79b288513587e960b6b7257a9d955d5592f209
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M accel/tcg/cputlb.c

  Log Message:
  -----------
  cputlb: use uint64_t for interim values for unaligned load

When running on 32 bit TCG backends a wide unaligned load ends up
truncating data before returning to the guest. We specifically have
the return type as uint64_t to avoid any premature truncation so we
should use the same for the interim types.

Fixes: https://bugs.launchpad.net/qemu/+bug/1830872
Fixes: eed5664238e

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Tested-by: Laszlo Ersek <address@hidden>
Tested-by: Igor Mammedov <address@hidden>


  Commit: fcf112317c6c5eaa816a010a701efeaebc5baf60
      
https://github.com/qemu/qemu/commit/fcf112317c6c5eaa816a010a701efeaebc5baf60
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/tcg/multiarch/system/memory.c

  Log Message:
  -----------
  tests/tcg: better detect truncated reads

If we've truncated a wider read we can detect the condition earlier by
looking at the number of zeros we've read. So we don't trip up on
cases where we have written zeros to the start of the buffer we also
ensure we only start each offset read from the right address.

Signed-off-by: Alex Bennée <address@hidden>


  Commit: 2736b5cbee8aaf1af668693edacf261851565cc0
      
https://github.com/qemu/qemu/commit/2736b5cbee8aaf1af668693edacf261851565cc0
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/tcg/i386/Makefile.softmmu-target

  Log Message:
  -----------
  tests/tcg: clean-up VPATH/TESTS for i386

Since we only run build the multiarch tests and we use a fully
resolved path for the crt object we don't need the wildcard or VPATH
messing about.

Signed-off-by: Alex Bennée <address@hidden>


  Commit: db61edad7ab9d1741922d6c62b5ff6d070e980df
      
https://github.com/qemu/qemu/commit/db61edad7ab9d1741922d6c62b5ff6d070e980df
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M tests/tcg/i386/Makefile.softmmu-target
    A tests/tcg/x86_64/system/boot.S
    A tests/tcg/x86_64/system/kernel.ld

  Log Message:
  -----------
  tests/tcg/x86_64: add a PVH crt.o for x86_64 system tests

Instead of doing the full real to 64 bit dance we are attempting to
leverage Xen's PVH boot spec to go from 32 bit to 64 bit.

Signed-off-by: Alex Bennée <address@hidden>


  Commit: c7b3e866bbe361a8637cb20efea8a6839a719ae1
      
https://github.com/qemu/qemu/commit/c7b3e866bbe361a8637cb20efea8a6839a719ae1
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: put myself forward for gdbstub

As I've been reviewing a lot of this recently and I'm going to put
together a pull request I'd better keep an eye on it. Philippe has
also volunteered to be a reviewer.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: ab7a2009df66241a3742cbdfe8f9a1f66c6af21f
      
https://github.com/qemu/qemu/commit/ab7a2009df66241a3742cbdfe8f9a1f66c6af21f
  Author: Alex Bennée <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M accel/tcg/cputlb.c

  Log Message:
  -----------
  cputlb: cast size_t to target_ulong before using for address masks

While size_t is defined to happily access the biggest host object this
isn't the case when generating masks for 64 bit guests on 32 bit
hosts. Otherwise we end up truncating the address when we fall back to
our unaligned helper.

Fixes: https://bugs.launchpad.net/qemu/+bug/1831545

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Tested-by: Andrew Randrianasulu <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: d14055dc69dfe4f53e3af9a93126382a40da3366
      
https://github.com/qemu/qemu/commit/d14055dc69dfe4f53e3af9a93126382a40da3366
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Add infrastructure to parse cmd packets

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 3e2c12615b52eb5e1cae7f448a02da622179fc43
      
https://github.com/qemu/qemu/commit/3e2c12615b52eb5e1cae7f448a02da622179fc43
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement deatch (D pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 44ffded013b193414f45bc0cb5df74ab7174b8bc
      
https://github.com/qemu/qemu/commit/44ffded013b193414f45bc0cb5df74ab7174b8bc
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement thread_alive (T pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 4d6e3fe2794f6b586d59dfe26ce3969e7a7cf36a
      
https://github.com/qemu/qemu/commit/4d6e3fe2794f6b586d59dfe26ce3969e7a7cf36a
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement continue (c pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: ccc47d5d01a99d2eaa7fc4f10f78dde844c7d573
      
https://github.com/qemu/qemu/commit/ccc47d5d01a99d2eaa7fc4f10f78dde844c7d573
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement continue with signal (C pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 3a9651d6743778a6d0968d2a56688c98769fbda9
      
https://github.com/qemu/qemu/commit/3a9651d6743778a6d0968d2a56688c98769fbda9
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement set_thread (H pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 77f6ce500f1950b9e07851ce66cde2d068e1a41d
      
https://github.com/qemu/qemu/commit/77f6ce500f1950b9e07851ce66cde2d068e1a41d
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement breakpoint commands (Z/z pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 62b3320bddd79c050553ea7f81f20c6d3b401ce3
      
https://github.com/qemu/qemu/commit/62b3320bddd79c050553ea7f81f20c6d3b401ce3
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement set register (P pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 5d0e57bd6889af947027da25ef6dd7b772ebe5b9
      
https://github.com/qemu/qemu/commit/5d0e57bd6889af947027da25ef6dd7b772ebe5b9
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement get register (p pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: cc0ecc7890b7b7ec8cf1f2f9e5a21f04d18aa0f9
      
https://github.com/qemu/qemu/commit/cc0ecc7890b7b7ec8cf1f2f9e5a21f04d18aa0f9
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement write memory (M pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: da92e2360e42ef8fd9dadcd2dc2a3b846d883800
      
https://github.com/qemu/qemu/commit/da92e2360e42ef8fd9dadcd2dc2a3b846d883800
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement read memory (m pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 287ca120bdf918b324b1fc374363ed400f143806
      
https://github.com/qemu/qemu/commit/287ca120bdf918b324b1fc374363ed400f143806
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement write all registers (G pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 397d137046401920ee61050d21fada3600f0a14f
      
https://github.com/qemu/qemu/commit/397d137046401920ee61050d21fada3600f0a14f
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement read all registers (g pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 4b20fab101b9e2d0fb47454209637a17fc7a13d5
      
https://github.com/qemu/qemu/commit/4b20fab101b9e2d0fb47454209637a17fc7a13d5
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement file io (F pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 933f80dd4226155e263635b0e909836151a795b4
      
https://github.com/qemu/qemu/commit/933f80dd4226155e263635b0e909836151a795b4
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement step (s pkt) with new infra

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 8536ec02fe0659bfa943ede9cbdb9ea54b66f674
      
https://github.com/qemu/qemu/commit/8536ec02fe0659bfa943ede9cbdb9ea54b66f674
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement v commands with new infra

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 2704efad514da6600481bef8686ddb786c10c62b
      
https://github.com/qemu/qemu/commit/2704efad514da6600481bef8686ddb786c10c62b
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement generic set/query (Q/q pkt) with new infra

The generic set/query packets contains implementation for varioius
sub-commands which are required for GDB and also additional commands
which are QEMU specific.

To see which QEMU specific commands are available use the command
gdb> maintenance packet qqemu.Supported

Currently the only implemented QEMU specific command is the command
that sets the single step behavior.

gdb> maintenance packet qqemu.sstepbits
Will display the MASK bits used to control the single stepping.

gdb> maintenance packet qqemu.sstep
Will display the current value of the mask used when single stepping.

gdb> maintenance packet Qqemu.sstep:HEX_VALUE
Will change the single step mask.

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 7009d579240035d9ba981940bf945d8b633625dd
      
https://github.com/qemu/qemu/commit/7009d579240035d9ba981940bf945d8b633625dd
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement target halted (? pkt) with new infra

Note: The user-mode thread-id has been correctly reported since bd88c780e6

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 3f1cbac73a441c518e27184bf24bc56796f4ab5a
      
https://github.com/qemu/qemu/commit/3f1cbac73a441c518e27184bf24bc56796f4ab5a
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Clear unused variables in gdb_handle_packet

Signed-off-by: Jon Doron <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: ab4752ec8d9b0b19ab80915016b739350418a078
      
https://github.com/qemu/qemu/commit/ab4752ec8d9b0b19ab80915016b739350418a078
  Author: Jon Doron <address@hidden>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Implement qemu physical memory mode

Add a new query/set which changes the memory GDB sees to physical memory
only.

gdb> maint packet qqemu.PhyMemMode
will reply the current phy_mem_mode state (1 for enabled, 0 for disabled)
gdb> maint packet Qqemu.PhyMemMode:1
Will make GDB read/write only to physical memory, set to 0 to disable

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: fe18911af739d292ad2e62c6699a705a08302fca
      
https://github.com/qemu/qemu/commit/fe18911af739d292ad2e62c6699a705a08302fca
  Author: Peter Maydell <address@hidden>
  Date:   2019-06-13 (Thu, 13 Jun 2019)

  Changed paths:
    M .editorconfig
    M .travis.yml
    M MAINTAINERS
    M accel/tcg/cputlb.c
    M gdbstub.c
    M hw/semihosting/console.c
    M include/hw/semihosting/console.h
    M linux-user/arm/semihost.c
    M qemu-io-cmds.c
    M scripts/archive-source.sh
    M target/arm/arm-semi.c
    M tests/docker/dockerfiles/fedora-cris-cross.docker
    M tests/docker/dockerfiles/fedora-i386-cross.docker
    M tests/docker/dockerfiles/fedora.docker
    M tests/docker/dockerfiles/ubuntu.docker
    M tests/tcg/i386/Makefile.softmmu-target
    M tests/tcg/multiarch/system/memory.c
    A tests/tcg/x86_64/system/boot.S
    A tests/tcg/x86_64/system/kernel.ld
    M tests/vm/Makefile.include
    M tests/vm/basevm.py
    M tests/vm/centos

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stsquad/tags/pull-testing-gdbstub-cputlb-120619-3' into staging

Various fixes and updates:

  - editor config tweak for shell scripts
  - iotest updates (still not default for make check)
  - various docker updates
  - gcc/ubsan updates for travis
  - some clean-ups for tests/vm (no serial autoinstall)
  - semihosting fix for Coverity
  - fixes for cputlb in 64-on-32 cases
  - gdbstub re-factor + maintainership update

# gpg: Signature made Wed 12 Jun 2019 17:55:04 BST
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) <address@hidden>" 
[full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-testing-gdbstub-cputlb-120619-3: (40 commits)
  gdbstub: Implement qemu physical memory mode
  gdbstub: Clear unused variables in gdb_handle_packet
  gdbstub: Implement target halted (? pkt) with new infra
  gdbstub: Implement generic set/query (Q/q pkt) with new infra
  gdbstub: Implement v commands with new infra
  gdbstub: Implement step (s pkt) with new infra
  gdbstub: Implement file io (F pkt) with new infra
  gdbstub: Implement read all registers (g pkt) with new infra
  gdbstub: Implement write all registers (G pkt) with new infra
  gdbstub: Implement read memory (m pkt) with new infra
  gdbstub: Implement write memory (M pkt) with new infra
  gdbstub: Implement get register (p pkt) with new infra
  gdbstub: Implement set register (P pkt) with new infra
  gdbstub: Implement breakpoint commands (Z/z pkt) with new infra
  gdbstub: Implement set_thread (H pkt) with new infra
  gdbstub: Implement continue with signal (C pkt) with new infra
  gdbstub: Implement continue (c pkt) with new infra
  gdbstub: Implement thread_alive (T pkt) with new infra
  gdbstub: Implement deatch (D pkt) with new infra
  gdbstub: Add infrastructure to parse cmd packets
  ...

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/a050901d4b40...fe18911af739



reply via email to

[Prev in Thread] Current Thread [Next in Thread]