Re: [Qemu-devel] Help needed: Sparc 64, kernel panic

2017-04-21 Thread Mark Cave-Ayland
On 20/04/17 10:29, Ajallooiean Hossein wrote: > Thanks for getting back to me so quickly. > > I can boot Sparc64 -- ONLY when using the qemu from package manager. > supposedly version 2.5 > > but when building it myself (as i have some additions) - im getting this > kernel error: > > https:/

[Qemu-devel] [Bug 1481272] Re: main-loop: WARNING: I/O thread spun for 1000 iterations

2017-04-21 Thread Andreas Gustafsson
http://gnats.netbsd.org/52184 looks like it may be related. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1481272 Title: main-loop: WARNING: I/O thread spun for 1000 iterations Status in QEMU: N

[Qemu-devel] [PATCH 09/14] nfs: Make errp the last parameter of nfs_client_open

2017-04-21 Thread Fam Zheng
Signed-off-by: Fam Zheng --- block/nfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/block/nfs.c b/block/nfs.c index 0816678..6541dec 100644 --- a/block/nfs.c +++ b/block/nfs.c @@ -497,7 +497,7 @@ out: static int64_t nfs_client_open(NFSClient *client, QDict *opt

Re: [Qemu-devel] [PATCH v2 1/1] qemu-img: wait for convert coroutines to complete

2017-04-21 Thread Peter Lieven
Am 21.04.2017 um 14:19 schrieb Anton Nefedov: > On 04/21/2017 01:44 PM, Peter Lieven wrote: >> Am 21.04.2017 um 12:04 schrieb Anton Nefedov: >>> On error path (like i/o error in one of the coroutines), it's required to >>> - wait for coroutines completion before cleaning the common structures >>>

[Qemu-devel] [PATCH 10/14] fdc: Make errp the last parameter of fdctrl_connect_drives

2017-04-21 Thread Fam Zheng
Signed-off-by: Fam Zheng --- hw/block/fdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/block/fdc.c b/hw/block/fdc.c index a328693..2e629b3 100644 --- a/hw/block/fdc.c +++ b/hw/block/fdc.c @@ -2521,8 +2521,8 @@ static void fdctrl_result_timer(void *opaque) } /

Re: [Qemu-devel] [PATCH v2 for-2.10 05/18] crypto: cipher: add cipher driver framework

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 05/18] crypto: cipher: add c

[Qemu-devel] [PATCH 12/14] migration: Make errp the last parameter of local functions

2017-04-21 Thread Fam Zheng
Signed-off-by: Fam Zheng --- migration/rdma.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/migration/rdma.c b/migration/rdma.c index 674ccab..fe0a4b5 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -809,7 +809,7 @@ static void qemu_rdma_dump_gid(const c

Re: [Qemu-devel] [PATCH v2 for-2.10 13/18] crypto: cipher: add afalg-backend cipher support

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 13/18] crypto: cipher: add a

[Qemu-devel] [PATCH 13/14] qga: Make errp the last parameter of qga_vss_fsfreeze

2017-04-21 Thread Fam Zheng
Signed-off-by: Fam Zheng --- qga/commands-win32.c | 4 ++-- qga/vss-win32.c | 2 +- qga/vss-win32.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 19d72b2..04026ee 100644 --- a/qga/commands-win32.c +++ b/qga/comma

Re: [Qemu-devel] [PATCH v2 for-2.10 06/18] crypto: hash: add hash driver framework

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 06/18] crypto: hash: add has

Re: [Qemu-devel] [PULL 00/11] s390x patches for 2.10

2017-04-21 Thread Peter Maydell
available in the git repository at: > > git://github.com/cohuck/qemu tags/s390x-20170421 > > for you to fetch changes up to cb55c19a26d6928b445f1bd9394843c9eb60f8ab: > > s390x: Drop useless casts (2017-04-21 09:32:09 +0200) > >

Re: [Qemu-devel] [PATCH v2 for-2.10 07/18] crypto: hmac: move crypto/hmac.h into include/crypto/

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 07/18] crypto: hmac: move cr

Re: [Qemu-devel] [PATCH v2 for-2.10 08/18] crypto: hmac: introduce qcrypto_hmac_ctx_new for gcrypt-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 08/18] crypto: hmac: introdu

Re: [Qemu-devel] [PATCH v2 for-2.10 09/18] crypto: hmac: introduce qcrypto_hmac_ctx_new for nettle-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 09/18] crypto: hmac: introd

Re: [Qemu-devel] [virtio-dev] [PATCH v17 1/2] virtio-crypto: Add virtio crypto device specification

2017-04-21 Thread Stefan Hajnoczi
On Thu, Apr 13, 2017 at 05:11:13PM +0800, Gonglei wrote: > +The request of dataq, mixing both session and stateless mode is as follows: It sounds more natural when "request" is plural: "Dataq requests for both session and stateless modes are as follows:" > + > +\begin{lstlisting} > +struct virti

Re: [Qemu-devel] [PATCH v2 for-2.10 10/18] crypto: hmac: introduce qcrypto_hmac_ctx_new for glib-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 10/18] crypto: hmac: introd

Re: [Qemu-devel] [PATCH v2 for-2.10 11/18] crypto: hmac: add hmac driver framework

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 11/18] crypto: hmac: add hm

[Qemu-devel] [PATCH 01/14] socket: Make errp the last parameter of socket_connect

2017-04-21 Thread Fam Zheng
Signed-off-by: Fam Zheng --- block/sheepdog.c | 2 +- include/qemu/sockets.h | 4 ++-- io/channel-socket.c| 2 +- net/socket.c | 2 +- util/qemu-sockets.c| 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index fb92

[Qemu-devel] [PATCH 06/14] crypto: Make errp the last parameter of functions

2017-04-21 Thread Fam Zheng
Move opaque to 2nd instead of the 2nd to last, so that compilers help check with the convertion. Signed-off-by: Fam Zheng --- block/crypto.c| 12 ++-- crypto/block-luks.c | 21 + include/crypto/block.h| 12 ++-- tests/test-crypto-block.c

[Qemu-devel] [PATCH 14/14] error: Apply error_propagate_null.cocci again

2017-04-21 Thread Fam Zheng
Signed-off-by: Fam Zheng --- hw/i386/pc.c | 4 +--- hw/s390x/virtio-ccw.c | 4 +--- hw/usb/bus.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index d24388e..f3b372a 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1104,9 +1

Re: [Qemu-devel] [PATCH v2 for-2.10 14/18] crypto: hash: add afalg-backend hash support

2017-04-21 Thread Gonglei (Arei)
There are same problems with the previous patch. Regards, -Gonglei > -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.o

Re: [Qemu-devel] [PATCH v14 04/20] qemu-img: Add --share-rw option to subcommands

2017-04-21 Thread Kevin Wolf
Am 21.04.2017 um 05:55 hat Fam Zheng geschrieben: > Similar to share-rw qdev property, this will force the opened images to > allow shared write permission of other programs. > > Signed-off-by: Fam Zheng General observation: We were considering to make share-rw require read-only. Some of the com

Re: [Qemu-devel] [PATCH] qemu_iotests: Remove _readlink()

2017-04-21 Thread Eric Blake
On 04/21/2017 03:01 AM, Kevin Wolf wrote: > It is unused. Might be worth also mentioning that it was the file's only client of perl, so removing it also makes it easier to justify removing a check for $PERL. > > Suggestetd-by: Fam Zheng > Signed-off-by: Kevin Wolf > --- > tests/qemu-iotests/c

Re: [Qemu-devel] [PATCH] kvm: pass the virtual SEI syndrome to guest OS

2017-04-21 Thread gengdongjiu
Hi all/Laszlo, sorry, I have a question to consult with you. On 2017/4/7 2:55, Laszlo Ersek wrote: > On 04/06/17 14:35, gengdongjiu wrote: >> Dear, Laszlo >>Thanks for your detailed explanation. >> >> On 2017/3/29 19:58, Laszlo Ersek wrote: >>> (This ought to be one of the longest address

Re: [Qemu-devel] [PULL for-2.9 0/6] Block patches

2017-04-21 Thread Peter Maydell
On 21 April 2017 at 10:43, Stefan Hajnoczi wrote: > The following changes since commit fa54abb8c298f892639ffc4bc2f61448ac3be4a1: > > Drop QEMU_GNUC_PREREQ() checks for gcc older than 4.1 (2017-04-20 18:33:33 > +0100) > > are available in the git repository at: > > git://github.com/stefanha/qe

Re: [Qemu-devel] [virtio-dev] [PATCH v17 1/2] virtio-crypto: Add virtio crypto device specification

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Friday, April 21, 2017 9:07 PM > > Subject: Re: [virtio-dev] [PATCH v17 1/2] virtio-crypto: Add virtio crypto > device > specification > > On Thu, Apr 13, 2017 at 05:11:13PM +0800, Gonglei wrote: > > +The r

Re: [Qemu-devel] [PATCH V2] qemu-img: simplify img_convert

2017-04-21 Thread Eric Blake
On 04/21/2017 04:11 AM, Peter Lieven wrote: > img_convert has been around before there was an ImgConvertState or > a block backend, but it has never been modified to directly use > these structs. Change this by parsing parameters directly into > the ImgConvertState and directly use BlockBackend whe

Re: [Qemu-devel] [PATCH 0/9] hw/display: make display updates thread safe, part 1

2017-04-21 Thread Mark Cave-Ayland
On 21/04/17 10:16, Gerd Hoffmann wrote: > Hi, > > Ok, 2.10 is open, lets start tackling the display update race > conditions. This series adds the helper functions used to receive > a dirty bitmap snapshot, which is used by the display adapters then. > Also a bunch of display adapters are conv

Re: [Qemu-devel] [PATCH v14 06/20] qemu-io: Add --share-rw option

2017-04-21 Thread Kevin Wolf
Am 21.04.2017 um 05:55 hat Fam Zheng geschrieben: > Add --share-rw/-U to program options and -U to open subcommand. > > Signed-off-by: Fam Zheng Reviewed-by: Kevin Wolf

[Qemu-devel] [PULL 06/12] block: honor BDRV_O_ALLOW_RDWR when clearing bs->read_only

2017-04-21 Thread Jeff Cody
The BDRV_O_ALLOW_RDWR flag allows / prohibits the changing of the BDS 'read_only' state, but there are a few places where it is ignored. In the bdrv_set_read_only() helper, make sure to honor the flag. Signed-off-by: Jeff Cody Reviewed-by: Stefan Hajnoczi Reviewed-by: John Snow Message-id: be

[Qemu-devel] [PULL 00/12] Block patches

2017-04-21 Thread Jeff Cody
The following changes since commit bfec359afba088aaacc7d316f43302f28c6e642a: Merge remote-tracking branch 'remotes/armbru/tags/pull-qdev-2017-04-21' into staging (2017-04-21 11:42:03 +0100) are available in the git repository at: git://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-r

[Qemu-devel] [PULL 05/12] block: do not set BDS read_only if copy_on_read enabled

2017-04-21 Thread Jeff Cody
A few block drivers will set the BDS read_only flag from their .bdrv_open() function. This means the bs->read_only flag could be set after we enable copy_on_read, as the BDRV_O_COPY_ON_READ flag check occurs prior to the call to bdrv->bdrv_open(). This adds an error return to bdrv_set_read_only()

[Qemu-devel] [PULL 04/12] block: add bdrv_set_read_only() helper function

2017-04-21 Thread Jeff Cody
We have a helper wrapper for checking for the BDS read_only flag, add a helper wrapper to set the read_only flag as well. Reviewed-by: Stefan Hajnoczi Signed-off-by: Jeff Cody Reviewed-by: John Snow Message-id: 9b18972d05f5fa2ac16c014f0af98d680553048d.1491597120.git.jc...@redhat.com --- block

[Qemu-devel] [PULL 07/12] block: code movement

2017-04-21 Thread Jeff Cody
Move bdrv_is_read_only() up with its friends. Reviewed-by: Stefan Hajnoczi Reviewed-by: John Snow Signed-off-by: Jeff Cody Message-id: 73b2399459760c32506f9407efb9dddb3a2789de.1491597120.git.jc...@redhat.com --- block.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --

[Qemu-devel] [PULL 02/12] block/vxhs.c: Add qemu-iotests for new block device type "vxhs"

2017-04-21 Thread Jeff Cody
From: Ashish Mittal These changes use a vxhs test server that is a part of the following repository: https://github.com/VeritasHyperScale/libqnio.git Signed-off-by: Ashish Mittal Reviewed-by: Stefan Hajnoczi Reviewed-by: Jeff Cody Signed-off-by: Jeff Cody Message-id: 1491277689-24949-3-git-s

[Qemu-devel] [PULL 03/12] qemu-iotests: exclude vxhs from image creation via protocol

2017-04-21 Thread Jeff Cody
The protocol VXHS does not support image creation. Some tests expect to be able to create images through the protocol. Exclude VXHS from these tests. Signed-off-by: Jeff Cody --- tests/qemu-iotests/017 | 1 + tests/qemu-iotests/020 | 1 + tests/qemu-iotests/029 | 1 + tests/qemu-iotests/073 |

[Qemu-devel] [PULL 08/12] block: introduce bdrv_can_set_read_only()

2017-04-21 Thread Jeff Cody
Introduce check function for setting read_only flags. Will return < 0 on error, with appropriate Error value set. Does not alter any flags. Signed-off-by: Jeff Cody Reviewed-by: Stefan Hajnoczi Reviewed-by: John Snow Message-id: e2bba34ac3bc76a0c42adc390413f358ae0566e8.1491597120.git.jc...@r

[Qemu-devel] [PULL 11/12] block/rbd: Add support for reopen()

2017-04-21 Thread Jeff Cody
This adds support for reopen in rbd, for changing between r/w and r/o. Note, that this is only a flag change, but we will block a change from r/o to r/w if we are using an RBD internal snapshot. Reviewed-by: Stefan Hajnoczi Signed-off-by: Jeff Cody Reviewed-by: John Snow Message-id: d4e875391

[Qemu-devel] [PULL 09/12] block: use bdrv_can_set_read_only() during reopen

2017-04-21 Thread Jeff Cody
Signed-off-by: Jeff Cody Reviewed-by: Stefan Hajnoczi Reviewed-by: John Snow Message-id: 00aed7ffdd7be4b9ed9ce1007d50028a72b34ebe.1491597120.git.jc...@redhat.com --- block.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/block.c b/block.c index 84f12f7..9fca

[Qemu-devel] [PULL 01/12] block/vxhs.c: Add support for a new block device type called "vxhs"

2017-04-21 Thread Jeff Cody
From: Ashish Mittal Source code for the qnio library that this code loads can be downloaded from: https://github.com/VeritasHyperScale/libqnio.git Sample command line using JSON syntax: ./x86_64-softmmu/qemu-system-x86_64 -name instance-0008 -S -vnc 0.0.0.0:0 -k en-us -vga cirrus -device vir

Re: [Qemu-devel] [PATCH] Block layer core: Fix qemu-img 'amend' subcommand failure of adjusting backing file in different path

2017-04-21 Thread Eric Blake
On 04/21/2017 05:34 PM, Ping Li wrote: Subject line is too long. Better would be: block: Fix qemu-img amend failure Your system clock is WAAY off. According to headers: > Received: from notes_smtp.zte.com.cn ([10.30.1.239]) > by mse01.zte.com.cn with ESMTP id v3L6FjYn087324; > Fri

[Qemu-devel] [PULL 10/12] block/rbd - update variable names to more apt names

2017-04-21 Thread Jeff Cody
Update 'clientname' to be 'user', which tracks better with both the QAPI and rados variable naming. Update 'name' to be 'image_name', as it indicates the rbd image. Naming it 'image' would have been ideal, but we are using that for the rados_image_t value returned by rbd_open(). Reviewed-by: Stef

Re: [Qemu-devel] [PATCH v14 07/20] iotests: 030: Prepare for image locking

2017-04-21 Thread Kevin Wolf
Am 21.04.2017 um 05:55 hat Fam Zheng geschrieben: > qemu-img and qemu-io commands when guest is running need "-U" option, > add it. > > Signed-off-by: Fam Zheng > --- > tests/qemu-iotests/030 | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/tes

[Qemu-devel] [PULL 12/12] qemu-iotests: _cleanup_qemu must be called on exit

2017-04-21 Thread Jeff Cody
For the tests that use the common.qemu functions for running a QEMU process, _cleanup_qemu must be called in the exit function. If it is not, if the qemu process aborts, then not all of the droppings are cleaned up (e.g. pidfile, fifos). This updates those tests that did not have a cleanup in qem

Re: [Qemu-devel] [PATCH V2] qemu-img: simplify img_convert

2017-04-21 Thread Peter Lieven
> Am 21.04.2017 um 15:43 schrieb Eric Blake : > >> On 04/21/2017 04:11 AM, Peter Lieven wrote: >> img_convert has been around before there was an ImgConvertState or >> a block backend, but it has never been modified to directly use >> these structs. Change this by parsing parameters directly int

[Qemu-devel] Help needed: Sparc 64, kernel panic

2017-04-21 Thread Siavash Katebzadeh
Hi, I can reproduce this panic using debian-7.8.0 image. I’m getting this segmentation fault: [ 24.846406] busybox[1]: segfault at f78a000c ip f77ab0ac (rpc f77ab090) sp ffd95a50 error 30001 in libc.so.6[f76f+174000] I found out the commit with 7268adebfda6548b8ae

Re: [Qemu-devel] [RFC PATCH 0/4] nvdimm: enable flush hint address structure

2017-04-21 Thread Stefan Hajnoczi
On Thu, Apr 20, 2017 at 12:49:21PM -0700, Dan Williams wrote: > On Tue, Apr 11, 2017 at 7:56 AM, Dan Williams > wrote: > > [ adding Christoph ] > > > > On Tue, Apr 11, 2017 at 1:41 AM, Haozhong Zhang > > wrote: > >> On 04/06/17 20:02 +0800, Xiao Guangrong wrote: > >>> > >>> > >>> On 04/06/2017 0

[Qemu-devel] [BUG]pcibus_reset assertion failure on guest reboot

2017-04-21 Thread wangxin (U)
Qemu-2.6.2 Start a vm with vhost-net , do reboot and hot-unplug viritio-net nic in short time, we touch pcibus_reset assertion failure. Here is qemu log: 22:29:46.359386+08:00 acpi_pm1_cnt_write -> guest do soft power off 22:29:46.785310+08:00 qemu_devices_reset 22:29:46.788093+08:00 virtio_

Re: [Qemu-devel] [PULL for-2.9 0/6] Block patches

2017-04-21 Thread Eric Blake
On 04/21/2017 04:43 AM, Stefan Hajnoczi wrote: > The following changes since commit fa54abb8c298f892639ffc4bc2f61448ac3be4a1: > Assuming the subject line is stale and you mean 2.10 -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | li

[Qemu-devel] [Bug 1685242] [NEW] ovmf hangs at efi with virtio-net memory hotplug

2017-04-21 Thread flumm
Public bug reported: with qemu 2.9 it hangs at the efi stage when memory-hotplug is enabled and it has a virtio-net devices the ovmf images where compiled from https://github.com/tianocore/edk2 (current master) reproducer: qemu-system-x86_64 -drive 'if=pflash,unit=0,format=raw,readonly,file=./O

Re: [Qemu-devel] [PATCH 06/14] crypto: Make errp the last parameter of functions

2017-04-21 Thread Eric Blake
On 04/21/2017 07:27 AM, Fam Zheng wrote: > Move opaque to 2nd instead of the 2nd to last, so that compilers help > check with the convertion. s/convertion/conversion/ > > Signed-off-by: Fam Zheng > --- > block/crypto.c| 12 ++-- > crypto/block-luks.c | 21 +---

[Qemu-devel] [Bug 1685242] Re: ovmf hangs at efi with virtio-net memory hotplug

2017-04-21 Thread flumm
i forgot: it also works with -machine pc-i440fx-2.6 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1685242 Title: ovmf hangs at efi with virtio-net memory hotplug Status in QEMU: New Bug descr

Re: [Qemu-devel] [PATCH v2 1/1] qemu-img: wait for convert coroutines to complete

2017-04-21 Thread Anton Nefedov
On 04/21/2017 01:44 PM, Peter Lieven wrote: Am 21.04.2017 um 12:04 schrieb Anton Nefedov: On error path (like i/o error in one of the coroutines), it's required to - wait for coroutines completion before cleaning the common structures - reenter dependent coroutines so they ever finish Intro

Re: [Qemu-devel] [PATCH v3 5/6] vmdk: Set maximum bytes allocated in one cycle

2017-04-21 Thread Ashijeet Acharya
On Wed, Apr 19, 2017 at 6:30 PM, Fam Zheng wrote: > On Sat, 04/01 20:14, Ashijeet Acharya wrote: >> Set the maximum bytes allowed to get allocated at once to be not more >> than the extent size boundary to handle writes at two separate extents >> appropriately. >> >> Signed-off-by: Ashijeet Achary

Re: [Qemu-devel] [PATCH v5 0/4] Introduce vhost-user-scsi and sample application

2017-04-21 Thread Felipe Franciosi
> On 2 Mar 2017, at 21:47, Michael S. Tsirkin wrote: > > On Thu, Mar 02, 2017 at 10:25:49AM -0800, Felipe Franciosi wrote: >> Based on various discussions on the 2016 KVM Forum, I'm sending over a >> vhost-user-scsi implementation for your consideration. >> >> This patchset introduces a new vho

Re: [Qemu-devel] [PULL for-2.9 0/3] Tracing patches

2017-04-21 Thread Peter Maydell
On 21 April 2017 at 10:53, Stefan Hajnoczi wrote: > The following changes since commit fa54abb8c298f892639ffc4bc2f61448ac3be4a1: > > Drop QEMU_GNUC_PREREQ() checks for gcc older than 4.1 (2017-04-20 18:33:33 > +0100) > > are available in the git repository at: > > git://github.com/stefanha/qe

Re: [Qemu-devel] Help needed: Sparc 64, kernel panic

2017-04-21 Thread Mark Cave-Ayland
On 21/04/17 15:56, Siavash Katebzadeh wrote: > My command line is: > > ./qemu-system-sparc64 \ > -L pc-bios -m 720 \ > -kernel ${KERNEL_PATH}/${KERNEL} \ > -initrd ${KERNEL_PATH}/${INITRD} \ > -drive file=${QCOW2_PATH}/${QCOW2},if=virtio,index=0 \ > -rtc base='2006-06-17T16:01:21',clock=vm \ > -n

Re: [Qemu-devel] [PATCH 2/6] util: introduce glib-helper.c

2017-04-21 Thread Alexey
Hello, thank you for so detailed comment, On Fri, Apr 21, 2017 at 11:27:55AM +0100, Peter Maydell wrote: > On 14 April 2017 at 14:17, Alexey Perevalov wrote: > > There is a lack of g_int_cmp which compares pointers value in glib, > > xen_disk.c introduced its own, so the same function now requir

Re: [Qemu-devel] Help needed: Sparc 64, kernel panic

2017-04-21 Thread Ajallooiean Hossein
Thanks for the files and the notes. I am attaching my config-host file for you. I'm on x86_64, running Linux 64, Ubuntu 16.04.2 LTS so, i can also boot like you do - this worked before as well. btw, if you try to install that to a disk, itll not be able to as youll need to define memory for it

Re: [Qemu-devel] [PATCH 3/6] migration: add UFFD_FEATURE_THREAD_ID feature support

2017-04-21 Thread Alexey
On Fri, Apr 21, 2017 at 11:24:54AM +0100, Dr. David Alan Gilbert wrote: > * Alexey Perevalov (a.pereva...@samsung.com) wrote: > > Userfaultfd mechanism is able to provide process thread id, > > in case when client request it with UFDD_API ioctl. > > > > Signed-off-by: Alexey Perevalov > > There

Re: [Qemu-devel] Help needed: Sparc 64, kernel panic

2017-04-21 Thread Siavash Katebzadeh
My mistake. Yes I Already tried qemu-2.9.0.rc5. Same error happens. Regards, Siavash. > On Apr 21, 2017, at 19:36, Mark Cave-Ayland > wrote: > > On 21/04/17 15:56, Siavash Katebzadeh wrote: > >> My command line is: >> >> ./qemu-system-sparc64 \ >> -L pc-bios -m 720 \ >> -kernel ${KERNEL_PAT

[Qemu-devel] [PATCH v7 10/13] sm501: Add support for panel layer

2017-04-21 Thread BALATON Zoltan
Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- v2: Split off renaming a variable to separate clean up patch hw/display/sm501.c | 63 +++--- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/h

[Qemu-devel] [PATCH v7 00/13] Improvements for SM501 display controller emulation

2017-04-21 Thread BALATON Zoltan
v7: Define default values for some variables to avoid an (invalid) warning from gcc 6 or 7 as suggested by Aurelien Jarno. BALATON Zoltan (13): sm501: Fixed code style and a few typos in comments sm501: Use defined constants instead of literal values where available sm501: Add missing ar

[Qemu-devel] [PATCH v7 12/13] sm501: Add vmstate descriptor

2017-04-21 Thread BALATON Zoltan
Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- v3: Added local_mem_size_index to vmstate, add vmstate for sysbus version too hw/display/sm501.c | 100 - 1 file changed, 99 insertions(+), 1 deletion(-)

[Qemu-devel] [PATCH v7 08/13] sm501: Fix hardware cursor

2017-04-21 Thread BALATON Zoltan
Rework HWC handling to simplify it and fix cursor not updating on screen as needed. Previously cursor was not updated because checking for changes in a line overrode the update flag set for the cursor but fixing this is not enough because the cursor should also be updated if its shape or location c

[Qemu-devel] [PATCH v7 06/13] sm501: Add emulation of chip connected via PCI

2017-04-21 Thread BALATON Zoltan
Only the display controller part is created automatically on PCI Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- v2: Split off removing dependency on base address to separate patch v3: Added reset function and PCI ID constant definitions in pci_ids.h v4:

[Qemu-devel] [PATCH v7 04/13] sm501: QOMify

2017-04-21 Thread BALATON Zoltan
Adding vmstate saving is not in this patch because the state structure will be changed in further patches, then another patch will add vmstate descriptor after those changes. Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- v2: Add memory regions to device

[Qemu-devel] [PATCH v7 13/13] ppc: Add SM501 device in ppc softmmu targets default configs

2017-04-21 Thread BALATON Zoltan
This is not used by default on any emulated machine yet but it is still useful to have it compiled so it can be added from the command line for clients that can use it (e.g. MorphOS has no driver for any other emulated video cards but can output via SM501) Signed-off-by: BALATON Zoltan Acked-by:

[Qemu-devel] [PATCH v7 11/13] sm501: Add some more missing registers

2017-04-21 Thread BALATON Zoltan
This is to allow clients to initialise these without failing as long as no 2D engine function is called that would use the written value. Saved values are not used yet (may get used when more of 2D engine is added sometimes) and clients normally only write to most of these registers, nothing is kno

[Qemu-devel] [PATCH v7 03/13] sm501: Add missing arbitration control register

2017-04-21 Thread BALATON Zoltan
Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- hw/display/sm501.c | 8 1 file changed, 8 insertions(+) diff --git a/hw/display/sm501.c b/hw/display/sm501.c index 6b72964..6e74200 100644 --- a/hw/display/sm501.c +++ b/hw/display/sm501.c @@ -474,6

[Qemu-devel] [PATCH v7 09/13] sm501: Misc clean ups

2017-04-21 Thread BALATON Zoltan
- Rename a variable - Move variable declarations out of loop to the beginning in draw_hwc_line Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- hw/display/sm501.c | 10 +- hw/display/sm501_template.h | 10 -- 2 files changed, 9 ins

[Qemu-devel] [PATCH v7 02/13] sm501: Use defined constants instead of literal values where available

2017-04-21 Thread BALATON Zoltan
Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- v3: Fix initial value of misc_control register as Peter Maydell suggested Also use M_BYTE constant from cutils.h hw/display/sm501.c | 29 +++-- hw/display/sm501_template

[Qemu-devel] [PATCH v7 07/13] sm501: Fix device endianness

2017-04-21 Thread BALATON Zoltan
We only emulate the sysbus device in its default LE mode and PCI is LE as well so specify this for registers and framebuffer memory. Note that though the Linux kernel driver has code which claims to handle both big and little endian, it is obviously bogus for 16 bit and cannot be trusted as a sour

[Qemu-devel] [PATCH v3] qga: Add support network interface statistics in

2017-04-21 Thread ZhiPeng Lu
we can get the network interface statistics inside a virtual machine by guest-network-get-interfaces command. it is very useful for us to monitor and analyze network traffic. Signed-off-by: ZhiPeng Lu Signed-off-by: Daniel P. Berrange --- qga/commands-posix.c | 71 ++

[Qemu-devel] [PATCH v7 05/13] sm501: Get rid of base address in draw_hwc_line

2017-04-21 Thread BALATON Zoltan
Do not use the base address to access data in local memory. This is in preparation to allow chip connected via PCI where base address depends on where the BAR is mapped so it will be unknown. Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- hw/display/sm50

[Qemu-devel] [PATCH v3] qga: Add support network interface statistics in

2017-04-21 Thread ZhiPeng Lu
we can get the network interface statistics inside a virtual machine by guest-network-get-interfaces command. it is very useful for us to monitor and analyze network traffic. Signed-off-by: ZhiPeng Lu Signed-off-by: Daniel P. Berrange --- qga/commands-posix.c | 71 ++

[Qemu-devel] [PATCH v7 01/13] sm501: Fixed code style and a few typos in comments

2017-04-21 Thread BALATON Zoltan
Signed-off-by: BALATON Zoltan Reviewed-by: Peter Maydell Tested-by: Aurelien Jarno --- hw/display/sm501.c | 1132 ++- hw/display/sm501_template.h | 52 +- 2 files changed, 594 insertions(+), 590 deletions(-) diff --git a/hw/display/sm501.c b/h

Re: [Qemu-devel] [PATCH v3] qga: Add support network interface statistics in

2017-04-21 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Message-id: 1492789220-15901-1-git-send-email-lu.zhip...@zte.com.cn Subject: [Qemu-devel] [PATCH v3] qga: Add support network interface statistics in Type: series === TEST SCRIPT BEGIN === #!/bin/bash # Testing scri

Re: [Qemu-devel] [PATCH v3] qga: Add support network interface statistics in

2017-04-21 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Message-id: 1492789303-16008-1-git-send-email-lu.zhip...@zte.com.cn Subject: [Qemu-devel] [PATCH v3] qga: Add support network interface statistics in Type: series === TEST SCRIPT BEGIN === #!/bin/bash # Testing scri

Re: [Qemu-devel] [PATCH 2/6] util: introduce glib-helper.c

2017-04-21 Thread Peter Maydell
On 21 April 2017 at 16:10, Alexey wrote: > Hello, thank you for so detailed comment, > > On Fri, Apr 21, 2017 at 11:27:55AM +0100, Peter Maydell wrote: >> Can we have a proper doc comment format comment, please, >> since this is now a function available to all of QEMU? >> >> > +gint g_int_cmp64(

Re: [Qemu-devel] [Qemu-block] [RFC for-3.0 0/4] block: Add qcow2-rust block driver

2017-04-21 Thread Stefan Hajnoczi
On Sat, Apr 01, 2017 at 05:57:47PM +0200, Max Reitz wrote: > The issues of using C are well understood and nobody likes it. Let's use > a better language. C++ is not a better language, Rust is. Everybody > loves Rust. Rust is good. Rust is hip. It will attract developers, it > will improve code qua

Re: [Qemu-devel] [PATCH 0/2] VFIO: Make 8-byte accesses atomic

2017-04-21 Thread Richard Henderson
On 04/21/2017 03:06 AM, Paolo Bonzini wrote: On 20/04/2017 18:03, Alex Williamson wrote: On Thu, 20 Apr 2017 00:19:23 -0700 Richard Henderson wrote: On 04/19/2017 12:44 PM, Jose Ricardo Ziviani wrote: This patchset has two patches: [1] 8-byte writes to non-mapped MMIO are broken into pairs

Re: [Qemu-devel] [PULL 00/65] Migration pull request

2017-04-21 Thread Peter Maydell
; > > The following changes since commit fa54abb8c298f892639ffc4bc2f61448ac3be4a1: > > Drop QEMU_GNUC_PREREQ() checks for gcc older than 4.1 (2017-04-20 18:33:33 > +0100) > > are available in the git repository at: > > git://github.com/juanquintela/qemu.gi

Re: [Qemu-devel] question about block size and virtual disks

2017-04-21 Thread Chris Friesen
On 04/20/2017 03:21 PM, Eric Blake wrote: On 04/20/2017 04:03 PM, Chris Friesen wrote: Also, does the 4KB block size get "passed-through" to the guest somehow so that the guest knows it needs to use 4KB blocks, or does that need to be explicitly specified via virtio-blk-pci.logical_block_size

Re: [Qemu-devel] [PULL 00/12] Block patches

2017-04-21 Thread Peter Maydell
On 21 April 2017 at 14:46, Jeff Cody wrote: > The following changes since commit bfec359afba088aaacc7d316f43302f28c6e642a: > > Merge remote-tracking branch 'remotes/armbru/tags/pull-qdev-2017-04-21' > into staging (2017-04-21 11:42:03 +0100) > > are available in the git repository at: > > git

[Qemu-devel] How expensive is an extra QEMU TLB MMU index ?

2017-04-21 Thread Peter Maydell
Hi; I have a feature for the ARM M profile emulation which I think needs to be implemented by giving it a separate mmu index value. [The HFNMIENA control bit allows "privileged and execution priority is higher than 0" to run with the MPU effectively off even if normal privileged execution has enabl

Re: [Qemu-devel] [PATCH v3] qga: Add support network interface statistics in

2017-04-21 Thread no-reply
Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Type: series Message-id: 1492789220-15901-1-git-send-email-lu.zhip...@zte.com.cn Subject: [Qemu-devel] [PATCH v3] qga: Add sup

[Qemu-devel] [PATCH v2 1/1] qemu-img: wait for convert coroutines to complete

2017-04-21 Thread Anton Nefedov
On error path (like i/o error in one of the coroutines), it's required to - wait for coroutines completion before cleaning the common structures - reenter dependent coroutines so they ever finish Introduced in 2d9187bc65. Signed-off-by: Anton Nefedov --- qemu-img.c | 44

Re: [Qemu-devel] [PATCH v3] qga: Add support network interface statistics in

2017-04-21 Thread no-reply
Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Type: series Message-id: 1492789303-16008-1-git-send-email-lu.zhip...@zte.com.cn Subject: [Qemu-devel] [PATCH v3] qga: Add sup

Re: [Qemu-devel] How expensive is an extra QEMU TLB MMU index ?

2017-04-21 Thread Richard Henderson
On 04/21/2017 10:23 AM, Peter Maydell wrote: Hi; I have a feature for the ARM M profile emulation which I think needs to be implemented by giving it a separate mmu index value. [The HFNMIENA control bit allows "privileged and execution priority is higher than 0" to run with the MPU effectively of

Re: [Qemu-devel] [PATCH v8 7/8] tests: Add unit tests for the VM Generation ID feature

2017-04-21 Thread Ben Warren via Qemu-devel
Hi, > On Apr 21, 2017, at 3:14 AM, Marc-André Lureau > wrote: > > Hi, > > Was this patch intentionally dropped from the series? > Good question. I thought the whole patch series was pulled in, but it looks like this one was not. I guess we’ll see what Michael has to say. —Ben > > > --

Re: [Qemu-devel] [PATCH 4/6] migration: calculate downtime on dst side

2017-04-21 Thread Alexey
Hello, David! I apologize, forgot to check patches with checkpatch.pl script, but now I checked, and I fixed code styles in patches, however I checked also files, migration.c has code style errors and glib-compat.h too. I could send that patches to qemu-trivial, if you not against. On Fri, Apr

[Qemu-devel] [Bug 1653063] Re: qemu-system-arm hangs with -icount and -nodefaults

2017-04-21 Thread pranith
** Changed in: qemu Status: New => Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1653063 Title: qemu-system-arm hangs with -icount and -nodefaults Status in QEMU: Confirmed Bug

Re: [Qemu-devel] [RFC PATCH 0/4] nvdimm: enable flush hint address structure

2017-04-21 Thread Dan Williams
[ adding xfs and fsdevel ] On Fri, Apr 21, 2017 at 6:56 AM, Stefan Hajnoczi wrote: [..] >> >>> If the vNVDIMM device is based on the regular file, i think >> >>> fsync is the bottleneck rather than this mmio-virtualization. :( >> >>> >> >> >> >> Yes, fsync() on the regular file is the bottleneck.

Re: [Qemu-devel] [Bug 1653063] [NEW] qemu-system-arm hangs with -icount and -nodefaults

2017-04-21 Thread Pranith Kumar
On Thu, Dec 29, 2016 at 5:04 AM, Andrew Jones wrote: > On Thu, Dec 29, 2016 at 08:02:16AM -, Hansni Bu wrote: >> Public bug reported: > ... >> https://bugs.launchpad.net/bugs/1653063 > ... >> After console prints the message below: >> "Uncompressing >> Linux...

[Qemu-devel] [PULL] qemu-sparc update

2017-04-21 Thread Mark Cave-Ayland
Hi Peter, Here is the cg3/tcx patchset which includes a lot of tidy-up and fixes several invalidation bugs for tcx discovered whilst testing Gerd's thread-safe patches. Please pull. ATB, Mark. The following changes since commit da92ada855036c55bd08b0b0c64c7551d56f3586: Merge remote-trackin

Re: [Qemu-devel] Jailhouse on Ultrascale+ (ZCU102)

2017-04-21 Thread Edgar E. Iglesias
On Fri, Apr 21, 2017 at 10:04:56AM +0300, Constantin Petra wrote: > OK, > > Changed configs for inmate to UART0, and the messages appeared on the > console (on the ZCU102 board, not QEMU), so it is indeed functional. > root@plnx_aarch64:~# jailhouse/usr/local/sbin/jailhouse cell start > ZynqMP-lin

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-21 Thread Stefan Weil
Am 17.04.2017 um 00:10 schrieb FONNEMANN Mark: This issue still exists for me in 2.9 rc4. -Original Message- From: Samuel Thibault [mailto:samuel.thiba...@gnu.org] Sent: Sunday, April 16, 2017 04:10 To: FONNEMANN Mark Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] dns server not wo

[Qemu-devel] [PULL 0/21] Please pull xen-20170421-tag for 2.10

2017-04-21 Thread Stefano Stabellini
The following changes since commit 55a19ad8b2d0797e3a8fe90ab99a9bb713824059: Update version for v2.9.0-rc1 release (2017-03-21 17:13:29 +) are available in the git repository at: git://xenbits.xen.org/people/sstabellini/qemu-dm.git tags/xen-20170421-tag for you to fetch changes up to

[Qemu-devel] [PULL 01/21] xen: make use of xen_xc implicit in xen_common.h inlines

2017-04-21 Thread Stefano Stabellini
From: Paul Durrant Doing this will make the transition to using the new libxendevicemodel interface less intrusive on the callers of these functions, since using the new library will require a change of handle. NOTE: The patch also moves the 'externs' for xen_xc and xen_fmem from xen_backe

<    1   2   3   4   >