From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYy00-0004T1-Lk for qemu-devel@nongnu.org; Fri, 20 Mar 2015 10:34:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYxzw-0003rm-LN for qemu-devel@nongnu.org; Fri, 20 Mar 2015 10:34:08 -0400 Received: from smtp3.mundo-r.com ([212.51.32.191]:37488 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYxzw-0003rV-Em for qemu-devel@nongnu.org; Fri, 20 Mar 2015 10:34:04 -0400 From: Alberto Garcia Date: Fri, 20 Mar 2015 16:33:52 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v3 0/3] Add bdrv_get_device_or_node_name() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Alberto Garcia , Markus Armbruster , Max Reitz , Stefan Hajnoczi One more try. v3: - The node-name field in BLOCK_IMAGE_CORRUPTED is now Since: 2.4 - Remove the QERR_ macros instead of updating them. The text message is adapted to each case where applicable, and 'device' is renamed to 'node' only where it makes sense. v2: - bdrv_get_device_or_node_name() includes a comment explaining its usage. - The error messages have been updated to say 'node' instead of 'device' where appropriate. - The BLOCK_IMAGE_CORRUPTED event has a new 'node-name' field. Regards, Berto Alberto Garcia (3): block: add bdrv_get_device_or_node_name() block: use bdrv_get_device_or_node_name() in error messages block: add 'node-name' field to BLOCK_IMAGE_CORRUPTED block.c | 33 +++++++++++++++++++++------------ block/qcow.c | 8 ++++---- block/qcow2.c | 10 +++++++--- block/qed.c | 2 +- block/quorum.c | 5 +---- block/snapshot.c | 12 ++++++------ block/vdi.c | 6 +++--- block/vhdx.c | 6 +++--- block/vmdk.c | 8 ++++---- block/vpc.c | 6 +++--- block/vvfat.c | 7 ++++--- blockdev.c | 9 +++++---- docs/qmp/qmp-events.txt | 16 +++++++++------- include/block/block.h | 1 + include/qapi/qmp/qerror.h | 6 ------ qapi/block-core.json | 13 ++++++++----- 16 files changed, 80 insertions(+), 68 deletions(-) -- 2.1.4