From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6efG-00048I-Qc for qemu-devel@nongnu.org; Mon, 14 Jul 2014 07:43:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6efA-00059d-Qx for qemu-devel@nongnu.org; Mon, 14 Jul 2014 07:43:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6efA-00059G-IZ for qemu-devel@nongnu.org; Mon, 14 Jul 2014 07:43:20 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6EBhIsc028814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 14 Jul 2014 07:43:19 -0400 From: Kevin Wolf Date: Mon, 14 Jul 2014 13:42:50 +0200 Message-Id: <1405338192-18850-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 v2 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 v2: - Fixed assertion failure on 32 bit hosts triggered by qtests (32 bit truncation of image file size in patch "block: Make qiov match the request size until EOF") 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 58ac321135af890b503ebe56d0d00e184779918f: ide: Treat read/write beyond end as invalid (2014-07-14 12:03:21 +0200) ---------------------------------------------------------------- Block patches for 2.1.0-rc2 (v2) ---------------------------------------------------------------- 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 | 22 ++- 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, 704 insertions(+), 173 deletions(-) create mode 100644 docs/aio_notify.promela