Message ID | 1371750371-18491-4-git-send-email-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 300072C00A1 for <incoming@patchwork.ozlabs.org>; Fri, 21 Jun 2013 03:57:47 +1000 (EST) Received: from localhost ([::1]:48147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1Upj7A-00074o-Ut for incoming@patchwork.ozlabs.org; Thu, 20 Jun 2013 13:57:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1Upj6u-00074h-L5 for qemu-devel@nongnu.org; Thu, 20 Jun 2013 13:57:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1Upj6t-00060B-Gn for qemu-devel@nongnu.org; Thu, 20 Jun 2013 13:57:28 -0400 Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:59587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1UpiwN-00024S-CG for qemu-devel@nongnu.org; Thu, 20 Jun 2013 13:46:35 -0400 Received: by mail-wg0-f54.google.com with SMTP id n11so5913180wgh.9 for <qemu-devel@nongnu.org>; Thu, 20 Jun 2013 10:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=miPFYcx1ocesLCeG7osWlMEYA+kr7NnbzXRdl2UidzI=; b=fAM2O0glDaVCixtVvaLHjowEdO4Z0TZbBtOGzzPtHGnOx6yJIKnkyQgD0XyAWQ9gSs 6vJLqBmXvgJbCJCKXHzsPkWgRV8jYIz6CnyQujYMA3OUPFMfCUQ9lAZUdPCjOvX579l8 JC1XDINjLGdhtQ23J2dOgUN/2AKfUcSvPdUjf0X2aD31TzlEtC04ov5O4eEPu0MkVdS2 5zSGqEPCQfof3P/eVwxqm7DYW2RjcMZ3F3HGTo6ZQFRPBC5pqiJmqastAogJ9zqdf/ty m2bfQU5vwZHMnVEDBgM8oxRGJAFDl9tYSixD46aoi5/efye6/GfG1LWAMFi0SLMUu0yj JU6w== X-Received: by 10.194.19.3 with SMTP id a3mr6708407wje.54.1371750394680; Thu, 20 Jun 2013 10:46:34 -0700 (PDT) Received: from localhost (158.red-80-26-177.adsl.dynamic.ccgg.telefonica.net. [80.26.177.158]) by mx.google.com with ESMTPSA id nj19sm2084413wic.1.2013.06.20.10.46.32 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 20 Jun 2013 10:46:33 -0700 (PDT) From: "=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=" <marcandre.lureau@gmail.com> To: qemu-devel@nongnu.org Date: Thu, 20 Jun 2013 19:46:02 +0200 Message-Id: <1371750371-18491-4-git-send-email-marcandre.lureau@redhat.com> X-Mailer: git-send-email 1.8.3.rc1.49.g8d97506 In-Reply-To: <1371750371-18491-1-git-send-email-marcandre.lureau@redhat.com> References: <1371750371-18491-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::236 Cc: spice-devel@lists.freedesktop.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com> Subject: [Qemu-devel] [PATCH 03/12] nbd: don't change socket block during negotiate X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
diff --git a/nbd.c b/nbd.c index 2606403..2f8c946 100644 --- a/nbd.c +++ b/nbd.c @@ -442,7 +442,6 @@ int nbd_receive_negotiate(int csock, const char *name, uint32_t *flags, TRACE("Receiving negotiation."); - qemu_set_block(csock); rc = -EINVAL; if (read_sync(csock, buf, 8) != 8) {
The caller might handle non-blocking using coroutine. Leave the choice to the caller to use a blocking or non-blocking noegotiate. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> --- nbd.c | 1 - 1 file changed, 1 deletion(-)