From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFvUn-0001cQ-2M for qemu-devel@nongnu.org; Mon, 26 Jan 2015 21:03:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFvUk-0003B1-1k for qemu-devel@nongnu.org; Mon, 26 Jan 2015 21:03:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFvUj-0003Am-RH for qemu-devel@nongnu.org; Mon, 26 Jan 2015 21:03:09 -0500 From: Max Reitz Date: Mon, 26 Jan 2015 21:02:55 -0500 Message-Id: <1422324179-32106-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] nbd: iotest fixes and error message improvement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Peter Lieven , Stefan Hajnoczi , Max Reitz This series is a follow-up to my previous patch "iotests: Specify format for qemu-nbd" and as such relies on it. The first three patches of this series fix the qemu-iotests so they once again pass when using NBD. The fourth patch of this series improves NBD's error message for establishing connections, especially if the server's and the client's NBD version differs (which, until now, was simply "Bad magic received"). Max Reitz (4): iotests: Fix 083 iotests: Fix 100 for nbd iotests: Fix 104 for NBD nbd: Improve error messages block/nbd-client.c | 4 +- block/nbd-client.h | 2 +- block/nbd.c | 2 +- include/block/nbd.h | 2 +- nbd.c | 42 ++++++++++++--------- qemu-nbd.c | 7 +++- tests/qemu-iotests/083 | 3 +- tests/qemu-iotests/083.out | 81 ++++++++++++++-------------------------- tests/qemu-iotests/100 | 12 ++++++ tests/qemu-iotests/104 | 9 ++--- tests/qemu-iotests/common.filter | 1 + 11 files changed, 82 insertions(+), 83 deletions(-) -- 2.1.0