[Qemu-devel] [PATCH v3] gluster: add support for PREALLOC_MODE_FALLOC

2017-05-27 Thread Niels de Vos
Add missing support for "preallocation=falloc" to the Gluster block driver. This change bases its logic on that of block/file-posix.c and removed the gluster_supports_zerofill() and qemu_gluster_zerofill() functions in favour of #ifdef checks in an easy to read switch-statement. Both glfs_zerofill

[Qemu-devel] Commit b2a575a1c652 broke i486 support.

2017-05-27 Thread Rob Landley
You can't boot a kernel under -cpu 486 since that commit (hangs producing no output) because it added a bios image that won't run on anything short of pentium II. You can try the run-emulator.sh script in http://landley.net/aboriginal/downloads/binaries/system-image-i486.tar.gz before and after th

Re: [Qemu-devel] [PULL 0/3] slirp updates

2017-05-27 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PULL 0/3] slirp updates Message-id: 20170527214618.32626-1-samuel.thiba...@ens-lyon.org Type: series === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total=$(git log --onel

[Qemu-devel] [PULL 0/3] slirp updates

2017-05-27 Thread Samuel Thibault
The following changes since commit 9964e96dccf7f7c936ee854a795415d19b60: Merge remote-tracking branch 'jasowang/tags/net-pull-request' into staging (2017-05-23 15:01:31 +0100) are available in the git repository at: http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault for

[Qemu-devel] [PULL 3/3] Fix total IP header length in forwarded TCP packets

2017-05-27 Thread Samuel Thibault
From: Sjors Gielen When forwarding TCP packets, the internal tcpiphdr struct length was wrongly used inside the IP header. This commit changes the behaviour to what is used by tcp_output.c, using the correct full IP header + payload length. Signed-off-by: Sjors Gielen Signed-off-by: Samuel Thib

[Qemu-devel] [PULL 1/3] slirp: Fix wrong mss bug.

2017-05-27 Thread Samuel Thibault
From: Tao Wu This bug was introduced by https://github.com/qemu/qemu/commit/98c6305 Signed-off-by: Tao Wu Reviewed-by: Philippe Mathieu-Daudé Signed-off-bu: Samuel Thibault --- slirp/tcp_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slirp/tcp_input.c b/slirp

[Qemu-devel] [PULL 2/3] slirp: fix leak

2017-05-27 Thread Samuel Thibault
From: Marc-André Lureau Spotted by ASAN: /x86_64/hmp/pc-0.12: = ==22538==ERROR: LeakSanitizer: detected memory leaks Direct leak of 224 byte(s) in 1 object(s) allocated from: #0 0x7f0f63cdee60 in malloc (/lib64/libasan.so.3+0xc

Re: [Qemu-devel] [PATCH] [SLIRP] Fix total IP header length in forwarded TCP packets

2017-05-27 Thread Samuel Thibault
Sjors Gielen, on mer. 24 mai 2017 17:51:12 +, wrote: > When forwarding TCP packets, the internal tcpiphdr struct length was wrongly > used inside the IP header. This commit changes the behaviour to what is used > by tcp_output.c, using the correct full IP header + payload length. Indeed, appli

Re: [Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-27 Thread Marcel Apfelbaum
On 27/05/2017 9:58, Mao Zhongyi wrote: On 05/26/2017 10:08 PM, Marcel Apfelbaum wrote: On 26/05/2017 15:15, Mao Zhongyi wrote: The pci-birdge device i82801b11 still implements the old PCIDeviceClass .init() through i82801b11_bridge_init() instead of the new .realize(). All devices need to

Re: [Qemu-devel] [PATCH v7 16/26] tcg/arm: Clarify tcg_out_bx for arm4 host

2017-05-27 Thread Philippe Mathieu-Daudé
On 05/26/2017 06:16 PM, Richard Henderson wrote: In theory this would re-enable usage of QEMU on an armv4 host. Whether this is worthwhile is debatable -- we've been unconditionally issuing the armv5t BX instruction in the prologue since 2011 without complaint. Possibly we should simply require

[Qemu-devel] [PATCH v4 24/24] MAINTAINERS: self-appoint me as reviewer in build/test automation

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 33f47a989b..24b1422231 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1851,6 +1851,7 @@ Build and test automation --

[Qemu-devel] [PATCH v4 22/24] shippable: add mipsel target

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- .shippable.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.shippable.yml b/.shippable.yml index aad66ec5ec..75c2895a21 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -13,6 +13,9 @@ env: TARGET_LIST=s390x-s

[Qemu-devel] [PATCH v4 18/24] shippable: do not initialize submodules automatically

2017-05-27 Thread Philippe Mathieu-Daudé
instead do it in the 'ci' target when needed. for mips64el-softmmu target: use dtc submodule if distrib packages are too old. example with outdated libfdt on mips64el-softmmu target (required is >= 1.4.2): # dpkg-query --showformat='${Version}\n' --show libfdt-dev 1.4.0+dfsg-1 shippable output

[Qemu-devel] [PATCH v4 16/24] shippable: use C locale to simplify console output

2017-05-27 Thread Philippe Mathieu-Daudé
remove this noise: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "en_US.UTF-8", LC_CTYPE = "en_US.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. Signed-off-by: Philippe Mathie

[Qemu-devel] [PATCH v4 12/24] docker: add extra libs to arm64 target to extend codebase coverage

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian-arm64-cross.docker | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tests/docker/dockerfiles/debian-arm64-cross.docker b/tests/docker/dockerfiles/debian-arm64-cross.docker index f3

[Qemu-devel] [PATCH v4 11/24] docker: add extra libs to armhf target to extend codebase coverage

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian-armhf-cross.docker | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tests/docker/dockerfiles/debian-armhf-cross.docker b/tests/docker/dockerfiles/debian-armhf-cross.docker index ba

[Qemu-devel] [PATCH v4 23/24] MAINTAINERS: add Shippable automation platform URL

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ef2ec58a94..33f47a989b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1857,6 +1857,7 @@ F: .travis.yml F: .shippable.yml F: tests/d

[Qemu-devel] [PATCH v4 10/24] docker: use eatmydata in debian arm64 image

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian-arm64-cross.docker | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/docker/dockerfiles/debian-arm64-cross.docker b/tests/docker/dockerfiles/debian-arm64-cross.docke

[Qemu-devel] [PATCH v4 21/24] shippable: add powerpc target

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- .shippable.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.shippable.yml b/.shippable.yml index 2070c4d827..aad66ec5ec 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -11,6 +11,8 @@ env: TARGET_LIST=aarch64-

[Qemu-devel] [PATCH v4 17/24] shippable: build using all available cpus

2017-05-27 Thread Philippe Mathieu-Daudé
As of this commit: $ echo "container proc:" `getconf _NPROCESSORS_ONLN` `getconf _NPROCESSORS_CONF` container proc: 2 2 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- .shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shippable.yml b/.shippa

[Qemu-devel] [PATCH v4 08/24] docker: use eatmydata, install common build packages in base image

2017-05-27 Thread Philippe Mathieu-Daudé
The common build packages are: build-essential clang git bison flex Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian.docker | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/docker/dockerfiles/debian.docker b/tests/

[Qemu-devel] [PATCH v4 19/24] shippable: be verbose while building docker images

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- .shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shippable.yml b/.shippable.yml index 46adfa030f..fe360f85cb 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -13,7 +13,7 @@ env: TARGET

[Qemu-devel] [PATCH v4 07/24] docker: use better regex to generate deb-src entries

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfiles/debian.docker index 33ba686892..e5a10a5875 100644 --- a

[Qemu-devel] [PATCH v4 15/24] docker: add powerpc build target

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/Makefile.include | 2 ++ .../docker/dockerfiles/debian-powerpc-cross.docker | 40 ++ 2 files changed, 42 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-pow

Re: [Qemu-devel] [PATCH v3] pci: Set err to errp directly rather than through error_propagate()

2017-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2017 02:34 AM, Mao Zhongyi wrote: ioh3420_interrupts_init() and its callers rp_realize() fill error message to local_err, then propagate it to errp by error_propagate(), which is not necessary. So eliminate it and pass errp directly instead of local_err. Of course, error_propagate() also

[Qemu-devel] [PATCH v4 14/24] docker: add mipsel build target

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/Makefile.include | 3 ++ .../docker/dockerfiles/debian-mipsel-cross.docker | 41 ++ 2 files changed, 44 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-mip

[Qemu-devel] [PATCH v4 05/24] docker: install ca-certificates package in base image

2017-05-27 Thread Philippe Mathieu-Daudé
Resolve SSL verification issue at shippable container's git_sync stage: shippable logs: -- git_sync - ssh-agent bash -c 'ssh-add /tmp/ssh/01_deploy; git clone https://github.com/philmd/qemu.git /root/src/github.com/philmd/qemu' Identity added: /tmp/ssh/01_deploy (rsa w/o comment) Clon

[Qemu-devel] [PATCH v4 13/24] docker: add extra libs to s390x target to extend codebase coverage

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian-s390x-cross.docker | 10 ++ 1 file changed, 10 insertions(+) diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/docker/dockerfiles/debian-s390x-cross.docker index 3a6

[Qemu-devel] [PATCH v4 09/24] docker: use eatmydata in debian armhf image

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian-armhf-cross.docker | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/docker/dockerfiles/debian-armhf-cross.docker b/tests/docker/dockerfiles/debian-armhf-cross.docke

[Qemu-devel] [PATCH v4 20/24] shippable: add armeb-linux-user target

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- .shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shippable.yml b/.shippable.yml index fe360f85cb..2070c4d827 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -6,7 +6,7 @@ env: - LC_ALL=C

[Qemu-devel] [PATCH v4 03/24] docker: rebuild image if 'extra files' checksum does not match

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- tests/docker/docker.py | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 5401e58fce..b5ee8bd6e3 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -

[Qemu-devel] [PATCH v4 00/24] docker/shippable: cross-build mipsel and powerpc targets

2017-05-27 Thread Philippe Mathieu-Daudé
This patchset add 2 more architectures to the cross-build farm. There is still some issue trying to cross-build mips64el-softmmu, it seems the cross tools use the system outdated libfdt instead of the one checkouted in the dtc submodule. I disabled this target for now. The branch https://github.c

[Qemu-devel] [PATCH v4 06/24] docker: create deb-src entry and setup Emdebian in the same layer

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian.docker | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfiles/debian.docker index d08def6a8d..33ba686892

[Qemu-devel] [PATCH v4 01/24] docker: let _copy_with_mkdir() sub_path argument be optional

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 8747f6a440..6ddc6e4c2a 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker

[Qemu-devel] [PATCH v4 04/24] docker: add 'apt-fake' script which generate fake debian packages

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/dockerfiles/debian-apt-fake.sh | 46 + 1 file changed, 46 insertions(+) create mode 100755 tests/docker/dockerfiles/debian-apt-fake.sh diff --git a/tests/docker/dockerfiles/debian-apt-fa

[Qemu-devel] [PATCH v4 02/24] docker: add --include-files argument to 'build' command

2017-05-27 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- tests/docker/Makefile.include | 3 +++ tests/docker/docker.py| 11 --- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 03eda37bf4..fe1a9a53ff 100644 --- a

Re: [Qemu-devel] [PATCH v2] target/s390x/cpu_models: Allow some additional feature bits for the "qemu" CPU

2017-05-27 Thread David Hildenbrand
On 26.05.2017 22:14, Thomas Huth wrote: > On 26.05.2017 14:14, David Hildenbrand wrote: >> On 25.05.2017 11:22, Thomas Huth wrote: >>> Currently we only present the plain z900 feature bits to the guest, >>> but QEMU already emulates some additional features (but not all of >>> the next CPU generati

[Qemu-devel] ping2 Re: [PATCH v18 00/25] qcow2: persistent dirty bitmaps

2017-05-27 Thread Vladimir Sementsov-Ogievskiy
ping... What about this? -- Best regards, Vladimir

[Qemu-devel] Throttling groups vs filter nodes

2017-05-27 Thread Stefan Hajnoczi
Throttling groups allow multiple drives to share the same throttling state (i.e. budget) between them. Manos is working on moving the throttling code into a block filter driver so it is no longer hardcoded into the I/O code path. Throttling groups are not defined explicitly using -object syntax.

Re: [Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-27 Thread Mao Zhongyi
On 05/26/2017 10:08 PM, Marcel Apfelbaum wrote: On 26/05/2017 15:15, Mao Zhongyi wrote: The pci-birdge device i82801b11 still implements the old PCIDeviceClass .init() through i82801b11_bridge_init() instead of the new .realize(). All devices need to be converted to .realize(). So convert it