Re: [Qemu-devel] [PATCH v2 0/3] iotests: cure s390x failures by switching to ccw/aliases

2017-09-15 Thread QingFeng Hao
Reviewed-by: QingFeng Hao for the series of patches. Thanks 在 2017/9/13 17:10, Cornelia Huck 写道: Recent changes in s390x made pci support dependant on the zpci cpu feature, which is not provided on all models (and not on by default). This means we cannot instatiate

Re: [Qemu-devel] [PATCH 1/3] migration: Allow ram_save_cleanup to be called with empty state

2017-09-15 Thread Fam Zheng
On Fri, 09/15 14:56, Peter Xu wrote: > On Fri, Sep 15, 2017 at 02:49:07PM +0800, Fam Zheng wrote: > > On Fri, 09/15 14:41, Peter Xu wrote: > > > On Fri, Sep 15, 2017 at 01:44:02PM +0800, Fam Zheng wrote: > > > > So that we can do cleanup unconditionally at the end of main(). > > > > > > > >

[Qemu-devel] [PATCH] linux-user/syscall.c: Handle SH4's exceptional alignment for p{read, write}64

2017-09-15 Thread James Clarke
Fixes: https://bugs.launchpad.net/qemu/+bug/1716767 Signed-off-by: James Clarke --- linux-user/syscall.c | 12 1 file changed, 12 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 9b6364a266..24d6a81c21 100644 --- a/linux-user/syscall.c

Re: [Qemu-devel] [PATCH 1/3] migration: Allow ram_save_cleanup to be called with empty state

2017-09-15 Thread Peter Xu
On Fri, Sep 15, 2017 at 02:49:07PM +0800, Fam Zheng wrote: > On Fri, 09/15 14:41, Peter Xu wrote: > > On Fri, Sep 15, 2017 at 01:44:02PM +0800, Fam Zheng wrote: > > > So that we can do cleanup unconditionally at the end of main(). > > > > > > Signed-off-by: Fam Zheng > > > --- >

Re: [Qemu-devel] [PULL v3 00/38] Test and build patches

2017-09-15 Thread Fam Zheng
On Fri, 09/15 14:45, Fam Zheng wrote: > The following changes since commit 04ef33052c205170c92df21ca0b4be4f3b102188: > > tcg/tci: do not use ldst label (never implemented) (2017-09-11 19:24:05 > +0100) > > are available in the git repository at: > > git://github.com/famz/qemu.git

[Qemu-devel] [PULL v3 18/38] MAINTAINERS: Add tests/vm entry

2017-09-15 Thread Fam Zheng
Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi Message-Id: <20170913030119.3957-12-f...@redhat.com> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 36eeb42d19..42f5454311 100644 --- a/MAINTAINERS

[Qemu-devel] [PULL v3 19/38] tests: Add README for vm tests

2017-09-15 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-13-f...@redhat.com> --- tests/vm/README | 63 + 1 file changed, 63 insertions(+) create mode 100644 tests/vm/README diff --git a/tests/vm/README b/tests/vm/README

[Qemu-devel] [PULL v3 15/38] tests: Add NetBSD image

2017-09-15 Thread Fam Zheng
The image is prepared following instructions as in: https://wiki.qemu.org/Hosts/BSD Signed-off-by: Fam Zheng Reviewed-by: Kamil Rytarowski Message-Id: <20170913030119.3957-9-f...@redhat.com> --- tests/vm/netbsd | 42 ++ 1

Re: [Qemu-devel] [PATCH 1/3] migration: Allow ram_save_cleanup to be called with empty state

2017-09-15 Thread Fam Zheng
On Fri, 09/15 14:41, Peter Xu wrote: > On Fri, Sep 15, 2017 at 01:44:02PM +0800, Fam Zheng wrote: > > So that we can do cleanup unconditionally at the end of main(). > > > > Signed-off-by: Fam Zheng > > --- > > migration/ram.c | 3 +++ > > 1 file changed, 3 insertions(+) > > >

[Qemu-devel] [PULL v3 12/38] tests: Add vm test lib

2017-09-15 Thread Fam Zheng
This is the common code to implement a "VM test" to 1) Download and initialize a pre-defined VM that has necessary dependencies to build QEMU and SSH access. 2) Archive $SRC_PATH to a .tar file. 3) Boot the VM, and pass the source tar file to the guest. 4) SSH into the VM, untar the

[Qemu-devel] [PULL v3 20/38] docker: Use archive-source.py

2017-09-15 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-14-f...@redhat.com> --- tests/docker/Makefile.include | 15 ++- tests/docker/run | 8 +--- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/tests/docker/Makefile.include

[Qemu-devel] [PULL v3 17/38] Makefile: Add rules to run vm tests

2017-09-15 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-11-f...@redhat.com> --- Makefile | 2 ++ configure | 2 +- tests/vm/Makefile.include | 42 ++ 3 files changed, 45 insertions(+), 1 deletion(-)

[Qemu-devel] [PULL v3 09/38] qemu.py: Add "wait()" method

2017-09-15 Thread Fam Zheng
Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi Reviewed-by: Alex Bennée Message-Id: <20170913030119.3957-3-f...@redhat.com> --- scripts/qemu.py | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/qemu.py

[Qemu-devel] [PULL v3 16/38] tests: Add OpenBSD image

2017-09-15 Thread Fam Zheng
The image is prepared following instructions as in: https://wiki.qemu.org/Hosts/BSD Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-10-f...@redhat.com> --- tests/vm/openbsd | 43 +++ 1 file changed, 43 insertions(+) create

[Qemu-devel] [PULL v3 13/38] tests: Add ubuntu.i386 image

2017-09-15 Thread Fam Zheng
This adds a 32bit guest. The official LTS cloud image is downloaded and initialized with cloud-init. Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-7-f...@redhat.com> --- tests/vm/ubuntu.i386 | 88 1 file changed,

[Qemu-devel] [PULL v3 11/38] tests: Add a test key pair

2017-09-15 Thread Fam Zheng
This will be used by setup test user ssh. Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-5-f...@redhat.com> --- tests/keys/id_rsa | 27 +++ tests/keys/id_rsa.pub | 1 + 2 files changed, 28 insertions(+) create mode 100644

[Qemu-devel] [PULL v3 14/38] tests: Add FreeBSD image

2017-09-15 Thread Fam Zheng
The image is prepared following instructions as in: https://wiki.qemu.org/Hosts/BSD Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-8-f...@redhat.com> --- tests/vm/freebsd | 42 ++ 1 file changed, 42 insertions(+) create mode

[Qemu-devel] [PULL v3 08/38] gitignore: Ignore vm test images

2017-09-15 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-2-f...@redhat.com> --- .gitignore | 1 + tests/.gitignore | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index cf65316863..40acfcb9e2 100644 --- a/.gitignore +++ b/.gitignore @@ -52,6

[Qemu-devel] [PULL v3 10/38] scripts: Add archive-source.sh

2017-09-15 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170913030119.3957-4-f...@redhat.com> --- scripts/archive-source.sh | 33 + 1 file changed, 33 insertions(+) create mode 100755 scripts/archive-source.sh diff --git a/scripts/archive-source.sh

[Qemu-devel] [PULL v3 00/38] Test and build patches

2017-09-15 Thread Fam Zheng
The following changes since commit 04ef33052c205170c92df21ca0b4be4f3b102188: tcg/tci: do not use ldst label (never implemented) (2017-09-11 19:24:05 +0100) are available in the git repository at: git://github.com/famz/qemu.git tags/test-and-build-pull-request for you to fetch changes up to

Re: [Qemu-devel] [PATCH 1/3] migration: Allow ram_save_cleanup to be called with empty state

2017-09-15 Thread Peter Xu
On Fri, Sep 15, 2017 at 01:44:02PM +0800, Fam Zheng wrote: > So that we can do cleanup unconditionally at the end of main(). > > Signed-off-by: Fam Zheng > --- > migration/ram.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/migration/ram.c b/migration/ram.c >

[Qemu-devel] [PATCH qemu v2] pci: Initialize pci_dev->name before use

2017-09-15 Thread Alexey Kardashevskiy
This moves pci_dev->name initialization earlier so pci_dev->bus_master_as could get a name instead of an empty string. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Philippe Mathieu-Daudé --- Changes: v2: * fixed mistype in the commit log * added "rb" ---

Re: [Qemu-devel] [Qemu devel v8 PATCH 5/5] msf2: Add Emcraft's Smartfusion2 SOM kit

2017-09-15 Thread sundeep subbaraya
Hi Peter, On Thu, Sep 14, 2017 at 10:44 PM, Peter Maydell wrote: > On 7 September 2017 at 20:24, Subbaraya Sundeep > wrote: > > Emulated Emcraft's Smartfusion2 System On Module starter > > kit. > > +static void

Re: [Qemu-devel] [PATCH v7 03/13] scripts: Add archive-source.sh

2017-09-15 Thread Fam Zheng
On Wed, 09/13 11:55, Peter Maydell wrote: > On 13 September 2017 at 04:01, Fam Zheng wrote: > > Signed-off-by: Fam Zheng > > --- > > scripts/archive-source.sh | 33 + > > 1 file changed, 33 insertions(+) > > create mode 100755

<    1   2   3   4