[Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120

2015-11-22 Thread Fam Zheng
Otherwise, a window flashes on my desktop (built with SDL). Add this as other cases have it. Signed-off-by: Fam Zheng --- v2: Fix 119 too. [Max] --- tests/qemu-iotests/119 | 2 +- tests/qemu-iotests/120 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 120

2015-11-22 Thread Fam Zheng
On Mon, 11/23 10:29, tu bo wrote: > Hi Max: > > On 11/21/2015 12:17 AM, Max Reitz wrote: > >On 20.11.2015 10:35, Fam Zheng wrote: > >>Otherwise, a window flashes on my desktop (built with SDL). Other > >>iotest cases have that. > >> > >>Signed-off-by: Fam Zheng > >>--- > >>

Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 120

2015-11-22 Thread tu bo
Hi Fam, Max: On 11/23/2015 10:33 AM, Fam Zheng wrote: On Mon, 11/23 10:29, tu bo wrote: Hi Max: On 11/21/2015 12:17 AM, Max Reitz wrote: On 20.11.2015 10:35, Fam Zheng wrote: Otherwise, a window flashes on my desktop (built with SDL). Other iotest cases have that. Signed-off-by: Fam Zheng

Re: [Qemu-devel] [PATCH for 2.6 3/3] hbitmap: Drop "granularity"

2015-11-22 Thread Fam Zheng
On Fri, 11/20 19:22, Vladimir Sementsov-Ogievskiy wrote: > On 20.11.2015 12:59, Fam Zheng wrote: > >Sometimes confused with the granularity with coarse levels in HBitmap, the > >granularity in the hbitmap_alloc is not an essential concept of a bitmap. > >Now > >that all callers except the test

Re: [Qemu-devel] [PATCH v12 34/36] qapi: Add positive tests to qapi-schema-test

2015-11-22 Thread Markus Armbruster
Eric Blake writes: > On 11/18/2015 01:53 AM, Eric Blake wrote: >> Add positive tests to qapi-schema-test for things that were >> made possible by recent patches but which caused compile errors >> due to collisions prior to that point. The focus is mainly on >> collisions due

Re: [Qemu-devel] [PATCH v3 4/5] xlnx-zynqmp: Connect the SPI devices

2015-11-22 Thread Alistair Francis
On Fri, Oct 30, 2015 at 3:21 AM, Alistair Francis wrote: > On Thu, Oct 29, 2015 at 12:04 PM, Peter Crosthwaite > wrote: >> On Thu, Oct 29, 2015 at 10:45 AM, Alistair Francis >> wrote: >>> On Thu, Oct 29, 2015

[Qemu-devel] [Patch v7 2/3] quorum: implement bdrv_add_child() and bdrv_del_child()

2015-11-22 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei --- block.c | 8 ++-- block/quorum.c| 124 +-

[Qemu-devel] [Patch v7 0/3] qapi: child add/delete support

2015-11-22 Thread Wen Congyang
If quorum's child is broken, we can use mirror job to replace it. But sometimes, the user only need to remove the broken child, and add it later when the problem is fixed. It is based on the Kevin's child name related patch:

[Qemu-devel] [Patch v7 1/3] Add new block driver interface to add/delete a BDS's child

2015-11-22 Thread Wen Congyang
In some cases, we want to take a quorum child offline, and take another child online. Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Reviewed-by: Eric Blake

Re: [Qemu-devel] [PATCH COLO-Frame v10 19/38] COLO failover: Introduce state to record failover process

2015-11-22 Thread zhanghailiang
On 2015/11/20 23:51, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: When handling failover, we do different things according to the different stage of failover process, here we introduce a global atomic variable to record the status of failover. We add

[Qemu-devel] [Patch v7 3/3] qmp: add monitor command to add/remove a child

2015-11-22 Thread Wen Congyang
The new QMP command name is x-blockdev-change. It justs for adding/removing quorum's child now, and don't support all kinds of children, all kinds of operations, nor all block drivers. So it is experimental now. Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang

Re: [Qemu-devel] [Intel-gfx] [Announcement] 2015-Q3 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-11-22 Thread Jike Song
On 11/21/2015 01:25 AM, Alex Williamson wrote: On Fri, 2015-11-20 at 08:10 +, Tian, Kevin wrote: Here is a more concrete example: KVMGT doesn't require IOMMU. All DMA targets are already replaced with HPA thru shadow GTT. So DMA requests from GPU all contain HPAs. When IOMMU is enabled,

Re: [Qemu-devel] [PATCH COLO-Frame v10 23/38] qmp event: Add event notification for COLO error

2015-11-22 Thread zhanghailiang
On 2015/11/21 5:50, Eric Blake wrote: On 11/03/2015 04:56 AM, zhanghailiang wrote: If some errors happen during VM's COLO FT stage, it's important to notify the users of this event. Together with 'colo_lost_heartbeat', users can intervene in COLO's failover work immediately. If users don't

Re: [Qemu-devel] [PATCH for 2.6 2/3] block: Hide HBitmap in block dirty bitmap interface

2015-11-22 Thread Fam Zheng
On Fri, 11/20 19:08, Vladimir Sementsov-Ogievskiy wrote: > On 20.11.2015 12:59, Fam Zheng wrote: > >HBitmap is an implementation detail of block dirty bitmap that should be > >hidden > >from users. Introduce a BdrvDirtyBitmapIter to encapsulate the underlying > >HBitmapIter. > > > >A small

[Qemu-devel] [RFC] virtio: convert to use DMA api

2015-11-22 Thread Jason Wang
Currently, all virtio devices bypass IOMMU completely. This is because address_space_memory is assumed and used during DMA emulation. This patch converts the virtio core API to use DMA API. This idea is - introducing a new transport specific helper to query the dma address space. (only pci

Re: [Qemu-devel] [PATCH for-2.5] tests: Fix check-report-qtest-% target

2015-11-22 Thread Markus Armbruster
Andreas Färber writes: > Commit e253c28 ("tests: Fix how qom-test is run") introduced > $(qtest-generic-y) and used it for check-qtest-% target, but did not > update check-report-qtest-%. This causes check-report-qtest-aarch64.xml > target to fail with a gtester usage error for

Re: [Qemu-devel] [PATCH v3 5/5] xlnx-ep108: Connect the SPI Flash

2015-11-22 Thread Alistair Francis
On Thu, Oct 29, 2015 at 7:36 AM, Peter Crosthwaite wrote: > > > On Wed, Oct 28, 2015 at 10:32 AM, Alistair Francis > wrote: >> >> Connect the sst25wf080 SPI flash to the EP108 board. >> >> Signed-off-by: Alistair Francis

[Qemu-devel] PING: [PATCH] backends/hostmem: Ignore ENOSYS while setting MPOL_DEFAULT

2015-11-22 Thread Pavel Fedin
Hello! No news for a long time, we are at RC stage. Could we get this in? Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia > -Original Message- > From: qemu-devel-bounces+p.fedin=samsung@nongnu.org [mailto:qemu-devel- >

Re: [Qemu-devel] [PATCH for 2.6 1/3] backup: Use Bitmap to replace "s->bitmap"

2015-11-22 Thread Fam Zheng
On Fri, 11/20 18:53, Vladimir Sementsov-Ogievskiy wrote: > On 20.11.2015 12:59, Fam Zheng wrote: > >"s->bitmap" tracks done sectors, we only check bit states without using any > >iterator which HBitmap is good for. Switch to "Bitmap" which is simpler and > >more memory efficient. > > > >Meanwhile,

Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120

2015-11-22 Thread Markus Armbruster
Fam Zheng writes: > Otherwise, a window flashes on my desktop (built with SDL). Add this as > other cases have it. > > Signed-off-by: Fam Zheng > > --- > v2: Fix 119 too. [Max] > --- > tests/qemu-iotests/119 | 2 +- > tests/qemu-iotests/120 | 2 +- > 2 files

Re: [Qemu-devel] [PATCH v3] virtio-blk: Fix double completion for werror=stop

2015-11-22 Thread Fam Zheng
On Sun, 11/22 20:41, Paolo Bonzini wrote: > > diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c > > index e70fccf..848f3fe 100644 > > --- a/hw/block/virtio-blk.c > > +++ b/hw/block/virtio-blk.c > > @@ -112,6 +112,10 @@ static void virtio_blk_rw_complete(void *opaque, int > > ret) > >

[Qemu-devel] [PATCH] virtio-blk: Move resetting of req->mr_next to virtio_blk_handle_rw_error

2015-11-22 Thread Fam Zheng
"werror=report" would free the req in virtio_blk_handle_rw_error, we mustn't write to it in that case. Reported-by: Paolo Bonzini Signed-off-by: Fam Zheng --- hw/block/virtio-blk.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[Qemu-devel] [PATCH] mirror: Quiesce source during "mirror_exit"

2015-11-22 Thread Fam Zheng
With dataplane, the ioeventfd events could be dispatched after mirror_run releases the dirty bitmap, but before mirror_exit actually does the device switch, because the iothread will still be running, and it will cause silent data loss. Fix this by adding a bdrv_drained_begin/end pair around the

Re: [Qemu-devel] [PATCH v2 2/4] qemu-iotests: s390x: fix test 051

2015-11-22 Thread tu bo
Hi Max, Sascha: On 11/21/2015 12:24 AM, Max Reitz wrote: On 19.11.2015 08:28, tu bo wrote: Hi Max: On 11/19/2015 12:52 AM, Max Reitz wrote: On 04.11.2015 03:26, Bo Tu wrote: The tests for device type "ide_cd" should only be tested for the pc platform. The default device id of hard disk on

Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 120

2015-11-22 Thread tu bo
Hi Max: On 11/21/2015 12:17 AM, Max Reitz wrote: On 20.11.2015 10:35, Fam Zheng wrote: Otherwise, a window flashes on my desktop (built with SDL). Other iotest cases have that. Signed-off-by: Fam Zheng --- tests/qemu-iotests/120 | 2 +- 1 file changed, 1 insertion(+), 1

Re: [Qemu-devel] [Intel-gfx] [Announcement] 2015-Q3 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-11-22 Thread Jike Song
On 11/21/2015 12:40 AM, Alex Williamson wrote: Thanks for confirmation. For QEMU/KVM, I totally agree your point; However, if we take XenGT to consider, it will be a bit more complex: with Xen hypervisor and Dom0 kernel running in different level, it's not a straight- forward way for QEMU to do

[Qemu-devel] [Bug 1516408] Re: sh4: Unsupported syscall: 186

2015-11-22 Thread John Paul Adrian Glaubitz
Ping. Any chance to get this merged? I don't think this patch could have any particular bad impact on qemu as it affects the sh4 emulation only and so far my tests with building packages on qemu-sh4 have shown no regressions. But with the patch, sigaltstack now works fine on sh4 which the above

Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-22 Thread Mark Cave-Ayland
On 21/11/15 22:59, Programmingkid wrote: > On Nov 21, 2015, at 7:32 AM, Mark Cave-Ayland wrote: > >> On 20/11/15 17:06, Alfonso Gamboa wrote: >> >>> booting into MacOS9 with qemu to the Desktop is now possible, see: >>> >>> http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250 >>> >>>

Re: [Qemu-devel] [PATCH v3] virtio-blk: Fix double completion for werror=stop

2015-11-22 Thread Paolo Bonzini
On 17/11/2015 11:20, Fam Zheng wrote: > When a request R is absorbed by request M, it is appended to the > "mr_next" queue led by M, and is completed together with the completion > of M, in virtio_blk_rw_complete. > > During DMA restart in virtio_blk_dma_restart_bh, requests in s->rq are >

Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-22 Thread Programmingkid
On Nov 22, 2015, at 6:58 AM, Mark Cave-Ayland wrote: > On 21/11/15 22:59, Programmingkid wrote: > >> On Nov 21, 2015, at 7:32 AM, Mark Cave-Ayland wrote: >> >>> On 20/11/15 17:06, Alfonso Gamboa wrote: >>> booting into MacOS9 with qemu to the Desktop is now possible, see: