From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5DZc-0004xc-TB for qemu-devel@nongnu.org; Thu, 10 Jul 2014 08:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5DZV-00073j-D1 for qemu-devel@nongnu.org; Thu, 10 Jul 2014 08:35:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5DZV-00073W-45 for qemu-devel@nongnu.org; Thu, 10 Jul 2014 08:35:33 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6ACZW9Y008143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 10 Jul 2014 08:35:32 -0400 From: Kevin Wolf Date: Thu, 10 Jul 2014 14:35:05 +0200 Message-Id: <1404995727-27471-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL for-2.1 00/22] Block patches for 2.1.0-rc2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com The following changes since commit 675879f6f3c9463e103735a4e41e9deb0bee9b= 39: Update version for v2.1.0-rc1 release (2014-07-08 16:53:59 +0100) are available in the git repository at: git://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to ccd3583aed26144b752ff48d11e2a0e551ddbe19: ide: Treat read/write beyond end as invalid (2014-07-10 12:55:39 +0200) ---------------------------------------------------------------- Block patches for 2.1.0-rc2 ---------------------------------------------------------------- Andreas F=C3=A4rber (1): tests: Fix unterminated string output visitor enum human string Kevin Wolf (7): block/backup: Fix hang for unaligned image size block: Fix bdrv_is_allocated() return value block: Make qiov match the request size until EOF qcow2: Make qiov match request size until backing file EOF qed: Make qiov match request size until backing file EOF block: Assert qiov length matches request length dma-helpers: Fix too long qiov Markus Armbruster (4): virtio-blk: Factor common checks out of virtio_blk_handle_read/writ= e() virtio-blk: Bypass error action and I/O accounting on invalid r/w virtio-blk: Treat read/write beyond end as invalid ide: Treat read/write beyond end as invalid Nikolay Nikolaev (1): qtest: fix vhost-user-test compilation with old GLib Paolo Bonzini (5): block: prefer aio_poll to qemu_aio_wait block: drop aio functions that operate on the main AioContext test-aio: fix GSource-based timer test AioContext: speed up aio_notify AioContext: do not rely on aio_poll(ctx, true) result to end a loop Stefan Hajnoczi (4): virtio-blk: avoid dataplane VirtIOBlockReq early free dataplane: do not free VirtQueueElement in vring_push() virtio-blk: avoid g_slice_new0() for VirtIOBlockReq and VirtQueueEl= ement virtio-blk: embed VirtQueueElement in VirtIOBlockReq aio-posix.c | 38 ++++- aio-win32.c | 6 +- async.c | 19 ++- block.c | 17 ++- block/backup.c | 2 +- block/qcow2.c | 11 +- block/qed.c | 38 +++-- block/qed.h | 1 + block/raw-posix.c | 15 +- blockjob.c | 2 +- dma-helpers.c | 4 + docs/aio_notify.promela | 104 ++++++++++++++ hw/block/dataplane/virtio-blk.c | 30 ++-- hw/block/virtio-blk.c | 95 +++++++------ hw/ide/core.c | 28 ++++ hw/virtio/dataplane/vring.c | 22 ++- include/block/aio.h | 32 ++--- include/block/blockjob.h | 4 +- include/block/coroutine.h | 2 +- include/hw/virtio/dataplane/vring.h | 3 +- include/hw/virtio/virtio-blk.h | 6 +- include/qemu-common.h | 1 + iothread.c | 5 +- main-loop.c | 21 --- qemu-io-cmds.c | 4 +- tests/qemu-iotests/028 | 27 +++- tests/qemu-iotests/028.out | 269 ++++++++++++++++++++++++++++++= ++++++ tests/test-aio.c | 38 ++--- tests/test-string-output-visitor.c | 7 +- tests/test-thread-pool.c | 4 +- tests/vhost-user-test.c | 4 + util/iov.c | 13 ++ 32 files changed, 700 insertions(+), 172 deletions(-) create mode 100644 docs/aio_notify.promela