Re: [Qemu-devel] [PATCH 3/4] tests: fw_cfg: add reboot_timeout test case

2019-04-24 Thread Thomas Huth
On 24/04/2019 03.16, Li Qiang wrote: > > Thomas Huth mailto:th...@redhat.com>> 于2019年4月24日 > 周三 上午12:29写道: > > On 20/04/2019 12.00, Li Qiang wrote: > > Signed-off-by: Li Qiang mailto:liq...@163.com>> > > --- > >  tests/fw_cfg-test.c | 19 +++ > >  1 file changed

Re: [Qemu-devel] Possibly incorrect data sparsification by qemu-img

2019-04-24 Thread Kevin Wolf
Am 24.04.2019 um 08:40 hat Vladimir Sementsov-Ogievskiy geschrieben: > 23.04.2019 18:08, Kevin Wolf wrote: > > Am 23.04.2019 um 16:26 hat Martin Kletzander geschrieben: > >> On Tue, Apr 23, 2019 at 02:12:18PM +0200, Kevin Wolf wrote: > >>> Am 23.04.2019 um 13:30 hat Martin Kletzander geschrieben: >

[Qemu-devel] [PATCH 2/2] vmdk: Add read-only support for seSparse snapshots

2019-04-24 Thread Sam Eiderman
Until ESXi 6.5 VMware used the vmfsSparse format for snapshots (VMDK3 in QEMU). This format was lacking in the following: * Grain directory (L1) and grain table (L2) entries were 32-bit, allowing access to only 2TB (slightly less) of data. * The grain size (default) was 512 bytes -

[Qemu-devel] [PATCH 1/2] vmdk: Fix comment regarding max l1_size coverage

2019-04-24 Thread Sam Eiderman
Commit b0651b8c246d ("vmdk: Move l1_size check into vmdk_add_extent") extended the l1_size check from VMDK4 to VMDK3 but did not update the default coverage in the moved comment. The previous vmdk4 calculation: (512 * 1024 * 1024) * 512(l2 entries) * 65536(grain) = 16PB The added vmdk3 calcu

Re: [Qemu-devel] [PATCH 3/4] tests: fw_cfg: add reboot_timeout test case

2019-04-24 Thread Li Qiang
Thomas Huth 于2019年4月24日周三 下午3:31写道: > On 24/04/2019 03.16, Li Qiang wrote: > > > > Thomas Huth mailto:th...@redhat.com>> 于2019年4月24日 > > 周三 上午12:29写道: > > > > On 20/04/2019 12.00, Li Qiang wrote: > > > Signed-off-by: Li Qiang mailto:liq...@163.com>> > > > --- > > > tests/fw_cfg-t

[Qemu-devel] [PATCH 0/2]: vmdk: Add read-only support for the new seSparse format

2019-04-24 Thread Sam Eiderman
VMware introduced a new snapshot format in VMFS6 - seSparse (Space Efficient Sparse) which is the default format available in ESXi 6.7. Add read-only support for the new snapshot format.

Re: [Qemu-devel] [PATCH 1/2] vfio/mdev: add version field as mandatory attribute for mdev device

2019-04-24 Thread Cornelia Huck
On Tue, 23 Apr 2019 23:10:37 -0400 Yan Zhao wrote: > On Tue, Apr 23, 2019 at 05:59:32PM +0800, Cornelia Huck wrote: > > On Fri, 19 Apr 2019 04:35:04 -0400 > > Yan Zhao wrote: > > > > > device version attribute in mdev sysfs is used by user space software > > > (e.g. libvirt) to query device c

Re: [Qemu-devel] [PATCH 0/3] Export machine type deprecation info through QMP

2019-04-24 Thread Thomas Huth
On 23/04/2019 23.22, Eduardo Habkost wrote: > This series adds machine type deprecation information to the > output of the `query-machines` QMP command. With this, libvirt > and management software will be able to show this information to > users and/or suggest changes to VM configuration to avoid

Re: [Qemu-devel] [PATCH 0/3] Export machine type deprecation info through QMP

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 09:56:53AM +0200, Thomas Huth wrote: > On 23/04/2019 23.22, Eduardo Habkost wrote: > > This series adds machine type deprecation information to the > > output of the `query-machines` QMP command. With this, libvirt > > and management software will be able to show this infor

Re: [Qemu-devel] [PATCH 2/3] machine: Use SupportStatusInfo for deprecation info

2019-04-24 Thread Daniel P . Berrangé
On Tue, Apr 23, 2019 at 06:22:45PM -0300, Eduardo Habkost wrote: > Use SupportStatusInfo to represent deprecation information of > machine types. > > Instead of using a generic "use XXX instead" message for humans, > encode the suggested alternative in a machine-friendly way at the > 'suggested_al

Re: [Qemu-devel] [PATCH 0/3] Export machine type deprecation info through QMP

2019-04-24 Thread Michal Privoznik
On 4/23/19 11:22 PM, Eduardo Habkost wrote: This series adds machine type deprecation information to the output of the `query-machines` QMP command. With this, libvirt and management software will be able to show this information to users and/or suggest changes to VM configuration to avoid depre

Re: [Qemu-devel] [PATCH 3/3] qmp: Add deprecation information to query-machines

2019-04-24 Thread Daniel P . Berrangé
On Tue, Apr 23, 2019 at 06:22:46PM -0300, Eduardo Habkost wrote: > Export machine type deprecation information through the > query-machines QMP command. With this, libvirt and management > software will be able to show this information to users and/or > suggest changes to VM configuration to avoid

Re: [Qemu-devel] [PATCH 1/3] qapi: SupportStatusInfo struct

2019-04-24 Thread Daniel P . Berrangé
On Tue, Apr 23, 2019 at 06:22:44PM -0300, Eduardo Habkost wrote: > This struct will be used to represent support and deprecation > status of QEMU features. > > Signed-off-by: Eduardo Habkost > --- > qapi/common.json | 24 > 1 file changed, 24 insertions(+) > > diff --gi

Re: [Qemu-devel] [PATCH 1/2] vfio/mdev: add version field as mandatory attribute for mdev device

2019-04-24 Thread Yan Zhao
On Wed, Apr 24, 2019 at 03:56:24PM +0800, Cornelia Huck wrote: > On Tue, 23 Apr 2019 23:10:37 -0400 > Yan Zhao wrote: > > > On Tue, Apr 23, 2019 at 05:59:32PM +0800, Cornelia Huck wrote: > > > On Fri, 19 Apr 2019 04:35:04 -0400 > > > Yan Zhao wrote: > > > > > > > device version attribute in m

Re: [Qemu-devel] [PATCH 1/1] util/path: Do not cache all filenames at startup

2019-04-24 Thread Daniel P . Berrangé
On Tue, Apr 23, 2019 at 08:30:55PM +0200, David Hildenbrand wrote: > On 23.04.19 12:01, Daniel P. Berrangé wrote: > > On Tue, Apr 23, 2019 at 11:54:53AM +0200, Philippe Mathieu-Daudé wrote: > >> Hi Richard, Daniel, > >> > >> On 4/17/19 7:32 AM, Richard Henderson wrote: > >>> If one uses -L $PATH to

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread Christian Borntraeger
On 23.04.19 14:11, David Hildenbrand wrote: > On 18.04.19 13:31, Christian Borntraeger wrote: >> Adding generation 15. >> >> Some interesting aspects: >> - conditional SSKE and bpb are deprecated. This patch set addresses that >> for csske. >> - no name yet for gen15, I suggest to use the assi

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread David Hildenbrand
On 24.04.19 10:40, Christian Borntraeger wrote: > > > On 23.04.19 14:11, David Hildenbrand wrote: >> On 18.04.19 13:31, Christian Borntraeger wrote: >>> Adding generation 15. >>> >>> Some interesting aspects: >>> - conditional SSKE and bpb are deprecated. This patch set addresses that >>> for c

Re: [Qemu-devel] Possibly incorrect data sparsification by qemu-img

2019-04-24 Thread Martin Kletzander
On Wed, Apr 24, 2019 at 09:19:17AM +0200, Kevin Wolf wrote: Am 24.04.2019 um 08:40 hat Vladimir Sementsov-Ogievskiy geschrieben: 23.04.2019 18:08, Kevin Wolf wrote: > Am 23.04.2019 um 16:26 hat Martin Kletzander geschrieben: >> On Tue, Apr 23, 2019 at 02:12:18PM +0200, Kevin Wolf wrote: >>> Am 2

Re: [Qemu-devel] [PATCH 0/5] tests/vm: Python 3, improve image caching, and misc

2019-04-24 Thread Laszlo Ersek
Hello Wainer, (answering because I dislike ignoring emails without giving any feedback:) On 04/23/19 21:28, Wainer dos Santos Moschetta wrote: > Ping. More reviews needed. > > I've already got Philippe's reviewed-by, thanks! I'm going to skip this one. According to "scripts/get_maintainer.pl",

Re: [Qemu-devel] [PATCH] The ioctl(SIOCGIFNAME) call requires a struct ifreq.

2019-04-24 Thread Peter Maydell
On Tue, 23 Apr 2019 at 23:28, Erik Kline via Qemu-devel wrote: > > Signed-off-by: Erik Kline > Buglink: https://bugs.launchpad.net/qemu/+bug/1814352 > --- > linux-user/ioctls.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h > in

Re: [Qemu-devel] [PATCH 1/2] vfio/mdev: add version field as mandatory attribute for mdev device

2019-04-24 Thread Christophe de Dinechin
> On 23 Apr 2019, at 12:39, Daniel P. Berrangé wrote: > > On Fri, Apr 19, 2019 at 04:35:04AM -0400, Yan Zhao wrote: >> device version attribute in mdev sysfs is used by user space software >> (e.g. libvirt) to query device compatibility for live migration of VFIO >> mdev devices. This attribut

[Qemu-devel] [Bug 1548170] Re: qemu-kvm-spice spice server locks up when large user image is set

2019-04-24 Thread Thomas Huth
If I get comment #2 right, the spice issue has been fixed sometime between v2.0 and v2.5, so I'm closing this ticket now. If you still encounter this issue with the latest version of QEMU (currently v4.0), feel free to open again (or report a new bug ticket for other issues). ** Changed in: qemu

[Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.

2019-04-24 Thread Thomas Huth
Since QEMU 4.0 has been released now, I assume we can close this ticket as "Fix released"? Or is there still anything left to do here? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1809304 Title: q

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 11:03:03AM +0200, David Hildenbrand wrote: > On 24.04.19 10:40, Christian Borntraeger wrote: > > > > > > On 23.04.19 14:11, David Hildenbrand wrote: > >> On 18.04.19 13:31, Christian Borntraeger wrote: > >>> Adding generation 15. > >>> > >>> Some interesting aspects: > >>>

[Qemu-devel] [PATCH] tests/tpm-tests: Use g_test_skip() to mark skipped tests

2019-04-24 Thread Thomas Huth
Since we do not use gtester anymore (which had a bug here), we can now use g_test_skip() to mark skipped tests. Signed-off-by: Thomas Huth --- tests/tpm-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tpm-tests.c b/tests/tpm-tests.c index 582ec0cfd4..e640777aa9

Re: [Qemu-devel] [PATCH 1/2] add VirtIONet vhost_stopped flag to prevent multiple stops

2019-04-24 Thread Jason Wang
On 2019/4/23 下午4:49, Dan Streetman wrote: I think so if net_vhost_user_event() was called in main thread (it calls qemu_get_current_aio_context()). ok, I'll check that, thanks! I think my other patch, to remove the vhost_user_stop() call completely from the net_vhost_user_event() handler for

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread David Hildenbrand
On 24.04.19 11:30, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at 11:03:03AM +0200, David Hildenbrand wrote: >> On 24.04.19 10:40, Christian Borntraeger wrote: >>> >>> >>> On 23.04.19 14:11, David Hildenbrand wrote: On 18.04.19 13:31, Christian Borntraeger wrote: > Adding generation 1

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 11:35:40AM +0200, David Hildenbrand wrote: > On 24.04.19 11:30, Daniel P. Berrangé wrote: > > On Wed, Apr 24, 2019 at 11:03:03AM +0200, David Hildenbrand wrote: > >> On 24.04.19 10:40, Christian Borntraeger wrote: > >>> > >>> > >>> On 23.04.19 14:11, David Hildenbrand wrote:

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread David Hildenbrand
On 24.04.19 11:41, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at 11:35:40AM +0200, David Hildenbrand wrote: >> On 24.04.19 11:30, Daniel P. Berrangé wrote: >>> On Wed, Apr 24, 2019 at 11:03:03AM +0200, David Hildenbrand wrote: On 24.04.19 10:40, Christian Borntraeger wrote: > > >

[Qemu-devel] [Bug 1826172] Re: Compilation on MSYS2/MinGW-w64 fails with error: "__USE_MINGW_ANSI_STDIO" redefined

2019-04-24 Thread Gwendolyn Haller
MinGW-w64 toolchain version: $ pacman -Ss mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-binutils 2.30-5 (mingw-w64-x86_64-toolchain) [installed] A set of programs to assemble and manipulate binary and object files (mingw-w64) mingw64/mingw-w64-x86_64-crt-git 7.0.0.5397.291c4f8d-1 (min

[Qemu-devel] [Bug 1826172] [NEW] Compilation on MSYS2/MinGW-w64 fails with error: "__USE_MINGW_ANSI_STDIO" redefined

2019-04-24 Thread Gwendolyn Haller
Public bug reported: Compilation against GIT master fails at the following step:   CC qga/commands.o In file included from qga/commands.c:13: C:/Tempy-chan/qemu/include/qemu/osdep.h:97: error: "__USE_MINGW_ANSI_STDIO" redefined [-Werror]  #define __USE_MINGW_ANSI_STDIO 1 In file included f

Re: [Qemu-devel] [PATCH] tests/tpm-tests: Use g_test_skip() to mark skipped tests

2019-04-24 Thread Marc-André Lureau
On Wed, Apr 24, 2019 at 11:49 AM Thomas Huth wrote: > > Since we do not use gtester anymore (which had a bug here), > we can now use g_test_skip() to mark skipped tests. > > Signed-off-by: Thomas Huth Reviewed-by: Marc-André Lureau > --- > tests/tpm-tests.c | 2 +- > 1 file changed, 1 inserti

[Qemu-devel] [Bug 1826175] [NEW] Compilation on MSYS2/MinGW-w64 fails with error: "No rule to make target capstone.lib"

2019-04-24 Thread Gwendolyn Haller
Public bug reported: I submitted this bug to Capstone directly but I figured it'd be useful to post it here too. The IS_MINGW check in the Makefile for Capstone fails under MSYS2 MinGW-w64 because cc --version doesn't have mingw in the output anymore: $ whereis cc cc: /mingw64/bin/cc.exe $ cc --

Re: [Qemu-devel] [PATCH] tests/tpm-tests: Use g_test_skip() to mark skipped tests

2019-04-24 Thread Philippe Mathieu-Daudé
On 4/24/19 11:45 AM, Thomas Huth wrote: > Since we do not use gtester anymore (which had a bug here), > we can now use g_test_skip() to mark skipped tests. > > Signed-off-by: Thomas Huth > --- > tests/tpm-tests.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/tpm

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread Christian Borntraeger
On 24.04.19 11:56, David Hildenbrand wrote: > On 24.04.19 11:41, Daniel P. Berrangé wrote: >> On Wed, Apr 24, 2019 at 11:35:40AM +0200, David Hildenbrand wrote: >>> On 24.04.19 11:30, Daniel P. Berrangé wrote: On Wed, Apr 24, 2019 at 11:03:03AM +0200, David Hildenbrand wrote: > On 24.04

[Qemu-devel] [Bug 1826175] Re: Compilation on MSYS2/MinGW-w64 fails with error: "No rule to make target capstone.lib"

2019-04-24 Thread Daniel Berrange
NB that patch will break Linux based Mingw builds, as they don't include "mys2" in their output from gcc, so it would need to match both. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1826175 Title:

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread David Hildenbrand
On 24.04.19 12:26, Christian Borntraeger wrote: > > > On 24.04.19 11:56, David Hildenbrand wrote: >> On 24.04.19 11:41, Daniel P. Berrangé wrote: >>> On Wed, Apr 24, 2019 at 11:35:40AM +0200, David Hildenbrand wrote: On 24.04.19 11:30, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at

Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] vmdk: Fix comment regarding max l1_size coverage

2019-04-24 Thread yuchenlin via Qemu-devel
On 2019-04-24 15:49, Sam Eiderman wrote: Commit b0651b8c246d ("vmdk: Move l1_size check into vmdk_add_extent") extended the l1_size check from VMDK4 to VMDK3 but did not update the default coverage in the moved comment. The previous vmdk4 calculation: (512 * 1024 * 1024) * 512(l2 entries) *

[Qemu-devel] [PATCH 1/6] tests/qemu-iotests/check: Pick a default machine if necessary

2019-04-24 Thread Thomas Huth
qemu-system-arm, qemu-system-aarch64 and qemu-system-tricore do not have a default machine, so when running the qemu-iotests with such a binary, lots of tests are failing. Fix it by picking a default machine in the "check" script instead. Signed-off-by: Thomas Huth --- tests/qemu-iotests/check |

[Qemu-devel] [PATCH 2/6] tests/qemu-iotests/group: Introduce a new "ci" group for CI pipelines

2019-04-24 Thread Thomas Huth
Tests in this group are supposed to run in every possible QEMU configuration. That means they should run with every QEMU binary (also non-x86), without dependencies on an optional features, they must work at least with the qcow2 image format and be able to run on all kind of host filesystems and us

[Qemu-devel] [PATCH 0/6] tests/qemu-iotests: Run basic iotests during "make check"

2019-04-24 Thread Thomas Huth
People often forget to run the iotests before submitting patches or pull requests - this is likely due to the fact that we do not run the tests during our mandatory "make check" tests yet. This patch series now introduces a new "ci" iotests group that should be safe to run in all CI environments (i

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 12:26:26PM +0200, Christian Borntraeger wrote: > > > On 24.04.19 11:56, David Hildenbrand wrote: > > On 24.04.19 11:41, Daniel P. Berrangé wrote: > >> On Wed, Apr 24, 2019 at 11:35:40AM +0200, David Hildenbrand wrote: > >>> On 24.04.19 11:30, Daniel P. Berrangé wrote: > >>

[Qemu-devel] [PATCH 3/6] tests/qemu-iotests: Do not hard-code the path to bash

2019-04-24 Thread Thomas Huth
bash is installed in a different directory on non-Linux systems like FreeBSD. Do not hard-code /bin/bash here so that the tests can run there, too. Signed-off-by: Thomas Huth --- tests/qemu-iotests/239 | 2 +- tests/qemu-iotests/240 | 2 +- tests/qemu-iotests/241 | 2 +- tests/qemu-iotests/243 |

[Qemu-devel] [PATCH 5/6] tests: Run the iotests during "make check" again

2019-04-24 Thread Thomas Huth
People often forget to run the iotests before submitting patches or pull requests - this is likely due to the fact that we do not run the tests during our mandatory "make check" tests yet. Now that we've got a new "ci" group of iotests that should be fine to run in every environ- ment, it should be

[Qemu-devel] [PATCH 4/6] cirrus / travis: Add gnu-sed and bash for macOS and FreeBSD

2019-04-24 Thread Thomas Huth
We are going to enable the qemu-iotests during "make check" again, and for running the iotests, we need bash and gnu-sed. Signed-off-by: Thomas Huth --- .cirrus.yml | 4 ++-- .travis.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 47ef5bc

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread Christian Borntraeger
On 24.04.19 12:27, David Hildenbrand wrote: > On 24.04.19 12:26, Christian Borntraeger wrote: >> >> >> On 24.04.19 11:56, David Hildenbrand wrote: >>> On 24.04.19 11:41, Daniel P. Berrangé wrote: On Wed, Apr 24, 2019 at 11:35:40AM +0200, David Hildenbrand wrote: > On 24.04.19 11:30, Dan

[Qemu-devel] [PATCH 6/6] tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests

2019-04-24 Thread Thomas Huth
A lot of tests run fine on FreeBSD and macOS, too - the limitation to Linux here was likely just copied-and-pasted from other tests. Thus remove the "_supported_os Linux" line from tests that run successful in our CI pipelines on FreeBSD and macOS. Signed-off-by: Thomas Huth --- tests/qemu-iotes

[Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.

2019-04-24 Thread yuchenlin
I re-test the dmg img with QEMU 4.0 again, and it works. In my opinion, the bug can be closed as "Fix released". Thanks. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1809304 Title: qemu-img conv

Re: [Qemu-devel] [PATCH 5/6] tests: Run the iotests during "make check" again

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 12:37:46PM +0200, Thomas Huth wrote: > People often forget to run the iotests before submitting patches or > pull requests - this is likely due to the fact that we do not run the > tests during our mandatory "make check" tests yet. Now that we've got > a new "ci" group of io

Re: [Qemu-devel] [PATCH 5/6] tests: Run the iotests during "make check" again

2019-04-24 Thread Thomas Huth
On 24/04/2019 12.48, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at 12:37:46PM +0200, Thomas Huth wrote: >> People often forget to run the iotests before submitting patches or >> pull requests - this is likely due to the fact that we do not run the >> tests during our mandatory "make check" te

Re: [Qemu-devel] [PATCH 4/4] linux-user: Sanitize interp_info and, for mips only, init field fp_abi

2019-04-24 Thread Aleksandar Markovic
> From: Philippe Mathieu-Daudé > Subject: Re: [Qemu-devel] [PATCH 4/4] linux-user: Sanitize interp_info and, > for mips only, init field fp_abi > > Hi Aleksandar, > > On 4/23/19 7:35 PM, Aleksandar Markovic wrote: > > From: Daniel Santos > > > > Sanitize interp_info structure in load_elf_binary

Re: [Qemu-devel] [PULL for-4.1 0/9] Miscellaneous patches for 2019-04-18

2019-04-24 Thread Peter Maydell
On Thu, 18 Apr 2019 at 21:40, Markus Armbruster wrote: > > Early pull request because I'll be on vacation when 4.1 opens. Hope > that's okay. > > The following changes since commit eeba63fc7fface36f438bcbc0d3b02e7dcb59983: > > Update version for v4.0.0-rc4 release (2019-04-16 21:53:00 +0100) >

[Qemu-devel] [PATCH v2 1/2] build-sys: pass CFLAGS & LDFLAGS to subdir-slirp

2019-04-24 Thread Marc-André Lureau
CFLAGS/LDFLAGS have debug and sanitizers flags, which should be passed to slirp compilation. Signed-off-by: Marc-André Lureau --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 04a0d45050..ff705e3f83 100644 --- a/Makefile +++ b/Makefile @@

[Qemu-devel] [PATCH v2 0/2] slirp: move slirp as git submodule project

2019-04-24 Thread Marc-André Lureau
Hi, v2: - add a patch to pass CFLAGS/LDFLAGS - order diff files to ease reviewing - drop RFC status Marc-André Lureau (2): build-sys: pass CFLAGS & LDFLAGS to subdir-slirp build-sys: move slirp as git submodule project configure | 11 +- .gitmodules|3 + sl

Re: [Qemu-devel] [PATCH 2/6] tests/qemu-iotests/group: Introduce a new "ci" group for CI pipelines

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 12:37:43PM +0200, Thomas Huth wrote: > Tests in this group are supposed to run in every possible QEMU configuration. > That means they should run with every QEMU binary (also non-x86), without > dependencies on an optional features, they must work at least with the qcow2 > i

[Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.

2019-04-24 Thread Thomas Huth
Thanks for testing. So I'm marking this now as "Fix released". ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1809304 Title: qemu-im

[Qemu-devel] [Bug 1826175] Re: Compilation on MSYS2/MinGW-w64 fails with error: "No rule to make target capstone.lib"

2019-04-24 Thread Thomas Huth
This change needs to go in via the capstone project. capstone is just an unmodified "submodule" in QEMU - we do not include any QEMU-only changes here. ** Changed in: qemu Status: New => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is sub

Re: [Qemu-devel] [PATCH 00/10] s390x: new guest features

2019-04-24 Thread David Hildenbrand
On 24.04.19 12:38, Christian Borntraeger wrote: > > > On 24.04.19 12:27, David Hildenbrand wrote: >> On 24.04.19 12:26, Christian Borntraeger wrote: >>> >>> >>> On 24.04.19 11:56, David Hildenbrand wrote: On 24.04.19 11:41, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at 11:35:40AM +

[Qemu-devel] [Bug 1826200] [NEW] RFE: populate "OEM Strings" (type 11) SMBIOS table strings from regular files

2019-04-24 Thread Laszlo Ersek (Red Hat)
Public bug reported: The feature added in https://git.qemu.org/?p=qemu.git;a=commitdiff;h=2d6dcbf93fb01b4a7f45a93d276d4d74b16392dd and exposed by libvirt as https://libvirt.org/formatdomain.html#elementsSysinfo allows the user to specify up to 255 strings in the unofmatted area of the Type 1

Re: [Qemu-devel] [PATCH v8 0/7] vhost-user-blk: Add support for backend reconnecting

2019-04-24 Thread Yongji Xie
Ping... On Wed, 20 Mar 2019 at 19:27, wrote: > > From: Xie Yongji > > This patchset is aimed at supporting qemu to reconnect > vhost-user-blk backend after vhost-user-blk backend crash or > restart. > > The patch 1,2,3 introduce started flag to VirtioDevice to > fix possible guest hung after mig

[Qemu-devel] [Bug 1826200] Re: RFE: populate "OEM Strings" (type 11) SMBIOS table strings from regular files

2019-04-24 Thread Daniel Berrange
** Changed in: qemu Status: New => Confirmed ** Changed in: qemu Assignee: (unassigned) => Daniel Berrange (berrange) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1826200 Title: RFE:

[Qemu-devel] [Bug 1826175] Re: Compilation on MSYS2/MinGW-w64 fails with error: "No rule to make target capstone.lib"

2019-04-24 Thread Daniel Berrange
Re-opened, since although the fix needs to be done in capstone, QEMU also needs a commit to actually update the submodule hash to pull in the fix. ** Changed in: qemu Status: Invalid => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscrib

Re: [Qemu-devel] [PATCH 5/6] tests: Run the iotests during "make check" again

2019-04-24 Thread Vladimir Sementsov-Ogievskiy
24.04.2019 13:59, Thomas Huth wrote: > On 24/04/2019 12.48, Daniel P. Berrangé wrote: >> On Wed, Apr 24, 2019 at 12:37:46PM +0200, Thomas Huth wrote: >>> People often forget to run the iotests before submitting patches or >>> pull requests - this is likely due to the fact that we do not run the >>>

Re: [Qemu-devel] [PATCH V3] vhost_net: don't set backend for the uninitialized virtqueue

2019-04-24 Thread Jason Wang
On 2019/4/9 下午1:58, Jason Wang wrote: We used to set backend unconditionally, this won't work for some guests (e.g windows driver) who may not initialize all virtqueues. For kernel backend, this will fail since it may try to validate the rings during setting backend. Fixing this by simply skip

Re: [Qemu-devel] [PULL for-4.1 00/36] Error reporting & monitor patches for 2019-04-18

2019-04-24 Thread Peter Maydell
On Thu, 18 Apr 2019 at 21:53, Markus Armbruster wrote: > > Early pull request because I'll be on vacation when 4.1 opens. Hope > that's okay. > > The following changes since commit eeba63fc7fface36f438bcbc0d3b02e7dcb59983: > > Update version for v4.0.0-rc4 release (2019-04-16 21:53:00 +0100) >

[Qemu-devel] [Bug 1826175] Re: Compilation on MSYS2/MinGW-w64 fails with error: "No rule to make target capstone.lib"

2019-04-24 Thread Gwendolyn Haller
I did submit a bug already to Capstone proper on their GitHub. Thanks for the heads-up about it needing to cover both cases for cross- compilers! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1826175

Re: [Qemu-devel] [PATCH v2 2/2] build-sys: move slirp as git submodule project

2019-04-24 Thread Peter Maydell
On Wed, 24 Apr 2019 at 12:13, Marc-André Lureau wrote: > > The slirp project is now hosted on freedesktop at: > https://gitlab.freedesktop.org/slirp. > > The libslirp source was extracted from qemu/slirp filtered through > clang-format (available in project tree). The qemu slirp directory can > be

Re: [Qemu-devel] [PATCH 5/6] tests: Run the iotests during "make check" again

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 12:02:29PM +, Vladimir Sementsov-Ogievskiy wrote: > 24.04.2019 13:59, Thomas Huth wrote: > > On 24/04/2019 12.48, Daniel P. Berrangé wrote: > >> On Wed, Apr 24, 2019 at 12:37:46PM +0200, Thomas Huth wrote: > >>> People often forget to run the iotests before submitting pa

Re: [Qemu-devel] [PATCH 5/6] tests: Run the iotests during "make check" again

2019-04-24 Thread Vladimir Sementsov-Ogievskiy
24.04.2019 15:13, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at 12:02:29PM +, Vladimir Sementsov-Ogievskiy wrote: >> 24.04.2019 13:59, Thomas Huth wrote: >>> On 24/04/2019 12.48, Daniel P. Berrangé wrote: On Wed, Apr 24, 2019 at 12:37:46PM +0200, Thomas Huth wrote: > People often

[Qemu-devel] [Bug 1826175] Re: Compilation on MSYS2/MinGW-w64 fails with error: "No rule to make target capstone.lib"

2019-04-24 Thread Peter Maydell
https://github.com/aquynh/capstone/issues/1464 is the upstream bug -- thanks for reporting it there. ** Bug watch added: github.com/aquynh/capstone/issues #1464 https://github.com/aquynh/capstone/issues/1464 -- You received this bug notification because you are a member of qemu- devel-ml, wh

Re: [Qemu-devel] [PATCH 2/6] tests/qemu-iotests/group: Introduce a new "ci" group for CI pipelines

2019-04-24 Thread Thomas Huth
On 24/04/2019 13.25, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at 12:37:43PM +0200, Thomas Huth wrote: >> Tests in this group are supposed to run in every possible QEMU configuration. >> That means they should run with every QEMU binary (also non-x86), without >> dependencies on an optional

[Qemu-devel] [PATCH v1] gdbstub: Refactor gdb packets handler

2019-04-24 Thread Jon Doron
Refactor the command packet handling code to ease the work of adding and extending commands that are currently not implemented. Signed-off-by: Jon Doron --- gdbstub.c | 1577 + 1 file changed, 1092 insertions(+), 485 deletions(-) diff --git a/

Re: [Qemu-devel] [PATCH v1] gdbstub: Refactor gdb packets handler

2019-04-24 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190424124414.17775-1-ari...@gmail.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190424124414.17775-1-ari...@gmail.com Subject: [Qemu-devel] [PATCH v1] gdbstub: Refactor gd

Re: [Qemu-devel] [PATCH 2/6] tests/qemu-iotests/group: Introduce a new "ci" group for CI pipelines

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 02:37:02PM +0200, Thomas Huth wrote: > On 24/04/2019 13.25, Daniel P. Berrangé wrote: > > On Wed, Apr 24, 2019 at 12:37:43PM +0200, Thomas Huth wrote: > >> Tests in this group are supposed to run in every possible QEMU > >> configuration. > >> That means they should run wit

[Qemu-devel] [PATCH v2 0/5] linux-user: A set of misc patches for 4.1

2019-04-24 Thread Aleksandar Markovic
From: Aleksandar Markovic This is a collection of misc patches for kinux user that I recently collected. Most of them originate from problems observed on target mips. However, all of them actually fix problems on multiple targets. v1->v2: - added the patch on setsockopt()'s option IPV6_ADD_ME

[Qemu-devel] [PATCH v2 3/5] linux-user: Add support the SIOCSIFPFLAGS and SIOCGIFPFLAGS ioctls

2019-04-24 Thread Aleksandar Markovic
From: Neng Chen Add support for setting and getting extended (private) flags of a network device via SIOCSIFPFLAGS and SIOCGIFPFLAGS ioctls. The ioctl numeric value is platform-independent and determined by the file include/uapi/linux/sockios.h in Linux kernel source code: #define SIOCSIFPFLA

[Qemu-devel] [PATCH v2 4/5] linux-user: setsockopt(): Add support for the option IPV6_ADD_MEMBERSHIP

2019-04-24 Thread Aleksandar Markovic
From: Neng Chen Add support for the option IPV6_ADD_MEMBERSHIP of the syscall setsockopt(). This option controls membership in multicast groups. Argument is a pointer to a struct ipv6_mreq, which is in turn defined in a platform-inedependant manner in the Linux kernel file include/uapi/linux/in6.

[Qemu-devel] [PATCH v2 1/5] linux-user: Fix support for the SIOCATMARK and SIOCGPGRP ioctls for eXtensa

2019-04-24 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix support for the SIOCATMARK and SIOCGPGRP ioctls for eXtensa by correcting corresponding macro definition. Values for TARGET_SIOCATMARK and TARGET_SIOCGPGRP are determined by Linux kernel. Following relevant lines are from kernel source tree: arch/ia64/include/uapi/

[Qemu-devel] [PATCH v2 5/5] linux-user: Sanitize interp_info and, for mips only, init field fp_abi

2019-04-24 Thread Aleksandar Markovic
From: Daniel Santos Sanitize interp_info structure in load_elf_binary() and, for MIPS only, init its field fp_abi to MIPS_ABI_FP_UNKNOWN. This fixes appearances of "Unexpected FPU mode" message in some MIPS use cases. Currently, this bug is a complete stopper for some MIPS binaries. In load_elf_

Re: [Qemu-devel] [PATCH 2/6] tests/qemu-iotests/group: Introduce a new "ci" group for CI pipelines

2019-04-24 Thread Thomas Huth
On 24/04/2019 14.50, Daniel P. Berrangé wrote: [...] > For automated CI, I think we should set clear desired featureset upfront > based on what we know we are supposde to have available and not silently > skip tests If someone really cares about running an certain iotest that depends on an optiona

[Qemu-devel] [PATCH v2 2/5] linux-user: Add support for the SIOCSPGRP ioctl

2019-04-24 Thread Aleksandar Markovic
From: Aleksandar Markovic Add support for setting the process (or process group) to receive SIGIO or SIGURG signals when I/O becomes possible or urgent data is available, using SIOCSPGRP ioctl. The ioctl numeric values for SIOCSPGRP are platform-dependent and are determined by following files in

[Qemu-devel] [Bug 1826200] Re: RFE: populate "OEM Strings" (type 11) SMBIOS table strings from regular files

2019-04-24 Thread Laszlo Ersek (Red Hat)
See also: https://bugzilla.tianocore.org/show_bug.cgi?id=1747 ** Bug watch added: bugzilla.tianocore.org/ #1747 https://bugzilla.tianocore.org/show_bug.cgi?id=1747 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launc

[Qemu-devel] [PATCH v2] gdbstub: Refactor gdb packets handler

2019-04-24 Thread Jon Doron
Refactor the command packet handling code to ease the work of adding and extending commands that are currently not implemented. Signed-off-by: Jon Doron --- gdbstub.c | 1619 + 1 file changed, 1128 insertions(+), 491 deletions(-) diff --git a/

Re: [Qemu-devel] [PATCH 2/6] tests/qemu-iotests/group: Introduce a new "ci" group for CI pipelines

2019-04-24 Thread Daniel P . Berrangé
On Wed, Apr 24, 2019 at 01:50:46PM +0100, Daniel P. Berrangé wrote: > On Wed, Apr 24, 2019 at 02:37:02PM +0200, Thomas Huth wrote: > > On 24/04/2019 13.25, Daniel P. Berrangé wrote: > > > On Wed, Apr 24, 2019 at 12:37:43PM +0200, Thomas Huth wrote: > > >> Tests in this group are supposed to run in

[Qemu-devel] [Bug 1826200] Re: RFE: populate "OEM Strings" (type 11) SMBIOS table strings from regular files

2019-04-24 Thread Laszlo Ersek (Red Hat)
See also: https://github.com/puiterwijk/qemu-ovmf-secureboot/issues/25 ** Bug watch added: github.com/puiterwijk/qemu-ovmf-secureboot/issues #25 https://github.com/puiterwijk/qemu-ovmf-secureboot/issues/25 -- You received this bug notification because you are a member of qemu- devel-ml, which

Re: [Qemu-devel] [PATCH v2 1/5] linux-user: Fix support for the SIOCATMARK and SIOCGPGRP ioctls for eXtensa

2019-04-24 Thread Aleksandar Markovic
> From: Aleksandar Markovic > Subject: [PATCH v2 1/5] linux-user: Fix support for the SIOCATMARK and > SIOCGPGRP ioctls for eXtensa > > Fix support for the SIOCATMARK and SIOCGPGRP ioctls for eXtensa by > correcting corresponding macro definition. Hello, Xtensa folks! This patch was devised whi

Re: [Qemu-devel] [PATCH v1] gdbstub: Refactor gdb packets handler

2019-04-24 Thread Alex Bennée
Jon Doron writes: > Refactor the command packet handling code to ease the work of > adding and extending commands that are currently not implemented. > > Signed-off-by: Jon Doron > --- > gdbstub.c | 1577 + > 1 file changed, 1092 insertions(

Re: [Qemu-devel] [PATCH v6 00/11] vhost-user for input & GPU

2019-04-24 Thread Michael S. Tsirkin
On Tue, Apr 23, 2019 at 03:19:53PM +0200, Marc-André Lureau wrote: > Hi, > > vhost-user allows to drive a virtio device in a seperate > process. After vhost-user-net, we have seen > vhost-user-{scsi,blk,crypto} added more recently. > > This series, initially proposed ~3 years ago, time flies > (h

Re: [Qemu-devel] [PATCH v2 4/5] linux-user: setsockopt(): Add support for the option IPV6_ADD_MEMBERSHIP

2019-04-24 Thread Aleksandar Markovic
> > > From: Aleksandar Markovic > Sent: Wednesday, April 24, 2019 2:57 PM > To: qemu-devel@nongnu.org > Cc: aurel...@aurel32.net; Aleksandar Markovic; Aleksandar Rikalo; > daniel.san...@pobox.com; jcmvb...@gmail.com; lviv...@redhat.com; > th...@redhat.co

Re: [Qemu-devel] [PATCH V3] vhost_net: don't set backend for the uninitialized virtqueue

2019-04-24 Thread Michael S. Tsirkin
On Tue, Apr 09, 2019 at 01:58:50PM +0800, Jason Wang wrote: > We used to set backend unconditionally, this won't work for some > guests (e.g windows driver) who may not initialize all virtqueues. For > kernel backend, this will fail since it may try to validate the rings > during setting backend. >

[Qemu-devel] [Bug 1701835] Re: floating-point operation bugs in qemu-alpha

2019-04-24 Thread Bruno Haible
The problem is still reproducible with QEMU 4.0.0: - The test programs test-cbrt ... test-truncf1 crash or abort as described. - The test program from comment #6, run with qemu-alpha, prints 600e8000, i.e. bit 59 is unset. -- You received this bug notification because you are a member of

Re: [Qemu-devel] [PATCH v6 00/11] vhost-user for input & GPU

2019-04-24 Thread Marc-André Lureau
Hi On Wed, Apr 24, 2019 at 3:29 PM Michael S. Tsirkin wrote: > > On Tue, Apr 23, 2019 at 03:19:53PM +0200, Marc-André Lureau wrote: > > Hi, > > > > vhost-user allows to drive a virtio device in a seperate > > process. After vhost-user-net, we have seen > > vhost-user-{scsi,blk,crypto} added more

[Qemu-devel] [Bug 1825002] Re: "qemu: Unexpected FPU mode" since 0c1bbedc10e86ea9366b6af8c5520fafa3266b2f

2019-04-24 Thread Philippe Mathieu-Daudé
Fix posted on the list: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg04037.html ** Changed in: qemu Status: Fix Committed => In Progress -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bu

Re: [Qemu-devel] [PULL 00/12] bundle edk2 platform firmware with QEMU

2019-04-24 Thread Peter Maydell
On Tue, 23 Apr 2019 at 18:15, Laszlo Ersek wrote: > > Picked up the new feedback tags from the v4 thread, which had been > posted at: > - https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg01549.html > - 20190409230022.6462-1-lersek@redhat.com">http://mid.mail-archive.com/20190409230022.6462

Re: [Qemu-devel] [PATCH 0/3] qemu-img: Allow rebase with no input base

2019-04-24 Thread Max Reitz
On 18.04.19 19:00, Vladimir Sementsov-Ogievskiy wrote: > 13.04.2019 19:11, Max Reitz wrote: >> Ping again >> >> (I feel like I just need to start merging unreviewed patches until I >> break something (can't take that long) so you get so scared of my >> patches that you at least refuse them outright

Re: [Qemu-devel] [PATCH 2/3] qemu-img: Use zero writes after source backing EOF

2019-04-24 Thread Max Reitz
On 18.04.19 20:59, Eric Blake wrote: > On 7/13/18 6:14 AM, Max Reitz wrote: >> Past the end of the source backing file, we memset() buf_old to zero, so >> it is clearly easy to use blk_pwrite_zeroes() instead of blk_pwrite() >> then. >> >> Signed-off-by: Max Reitz >> --- >> qemu-img.c | 11 ++

Re: [Qemu-devel] [PATCH 1/3] qemu-img: Allow rebase with no input base

2019-04-24 Thread Max Reitz
On 18.04.19 20:55, Eric Blake wrote: > On 7/13/18 6:14 AM, Max Reitz wrote: >> Currently, you cannot add a backing file to an image when it currently >> has none. It is really simple to allow this, though (effectively by >> setting old_backing_size to 0), so this patch does just that. > > Can't y

Re: [Qemu-devel] [PATCH 3/4] tests: fw_cfg: add reboot_timeout test case

2019-04-24 Thread Li Qiang
Thomas Huth 于2019年4月24日周三 下午3:31写道: > On 24/04/2019 03.16, Li Qiang wrote: > > > > Thomas Huth mailto:th...@redhat.com>> 于2019年4月24日 > > 周三 上午12:29写道: > > > > On 20/04/2019 12.00, Li Qiang wrote: > > > Signed-off-by: Li Qiang mailto:liq...@163.com>> > > > --- > > > tests/fw_cfg-t

[Qemu-devel] [PATCH v2 4/5] tests: fw_cfg: add reboot_timeout test case

2019-04-24 Thread Li Qiang
Signed-off-by: Li Qiang --- Change since v1: Converting little endian reboot_timeout to cpu endian tests/fw_cfg-test.c | 21 + 1 file changed, 21 insertions(+) diff --git a/tests/fw_cfg-test.c b/tests/fw_cfg-test.c index c22503619f..6c6add54db 100644 --- a/tests/fw_cfg-test.

[Qemu-devel] [PATCH v2 5/5] tests: fw_cfg: add splash time test case

2019-04-24 Thread Li Qiang
Signed-off-by: Li Qiang --- Change since v1: Converting little endian splash time to cpu endian tests/fw_cfg-test.c | 20 1 file changed, 20 insertions(+) diff --git a/tests/fw_cfg-test.c b/tests/fw_cfg-test.c index 6c6add54db..c6a3d6bb23 100644 --- a/tests/fw_cfg-test.c ++

  1   2   3   >