From patchwork Mon Nov 12 14:22:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 198393 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7A4712C007D for ; Tue, 13 Nov 2012 01:22:44 +1100 (EST) Received: from localhost ([::1]:59410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXuuK-0004AT-Pt for incoming@patchwork.ozlabs.org; Mon, 12 Nov 2012 09:22:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXuuA-00049j-0M for qemu-devel@nongnu.org; Mon, 12 Nov 2012 09:22:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXuu6-0003me-UG for qemu-devel@nongnu.org; Mon, 12 Nov 2012 09:22:25 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:64449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXuu6-0003mX-OY for qemu-devel@nongnu.org; Mon, 12 Nov 2012 09:22:22 -0500 Received: by mail-pa0-f45.google.com with SMTP id fb10so4204030pad.4 for ; Mon, 12 Nov 2012 06:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=PkUOR9DEFJOrfYYOlSKTfziFIiHfyR1Bc2rL2dE1YkA=; b=Hsl3m5xQNSrSCUHcUSQnPRKoFlBHnNOChv3mhqPwovn/7OGxVqa+ZOUlDX2hfIHI8R nsMYy/equHJT9fG/lBR/aF+Q+64pUniDFy94kImuGC6H99dWrjwQm0+RSyxw1LpPIF33 dCS5SgRAi2a/2DHC8oGbYw0H6ev1YOI0ynFsLjZw8/4+6oT4TlHoZVuRQxdlvQGcfU5n au2MFKJBG5aw+GCSopukU9OhSfiLHXAnE0lQIwxsRhqCGWNNoGed7kH5pB7vsiXOaOih eygXHShBObht0DDI7p3TxYpD5aEuJ+WfmLeCNXDqM1Y0qwBFS3qW057Qx+Z/2eS3fL9Q wQtg== Received: by 10.66.86.165 with SMTP id q5mr48981371paz.18.1352730141932; Mon, 12 Nov 2012 06:22:21 -0800 (PST) Received: from yakj.usersys.redhat.com (93-34-169-1.ip50.fastwebnet.it. [93.34.169.1]) by mx.google.com with ESMTPS id vo8sm4271417pbc.16.2012.11.12.06.22.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2012 06:22:19 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 12 Nov 2012 15:22:00 +0100 Message-Id: <1352730127-32685-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.12.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.45 Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PULL 1.3 0/7] NBD updates for 2012-11-12 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Anthony, The following changes since commit 3c5645fab3c4b65d0cffbe1aaafc787e4be63d0f: tcg: properly check that op's output needs to be synced to memory (2012-11-11 16:06:46 +0100) are available in the git repository at: git://github.com/bonzini/qemu.git nbd-next for you to fetch changes up to 4057725f35abe00ea371f85c6e27dd25eafd9ddf: hmp: add NBD server commands (2012-11-12 14:38:29 +0100) The main change is making the NBD server available via HMP. This prompted a few minor usability improvements in the QMP interface too. Also, NBD is made accessible via URIs, similar to Gluster (the change is backwards-compatible). ---------------------------------------------------------------- Paolo Bonzini (7): qemu-nbd: initialize main loop before block layer nbd: accept relative path to Unix socket nbd: accept URIs nbd: fix nbd_server_stop crash when no server was running nbd: force read-only export for read-only devices nbd: disallow nbd-server-add before nbd-server-start hmp: add NBD server commands block/nbd.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++------ blockdev-nbd.c | 20 ++++++++-- hmp-commands.hx | 45 ++++++++++++++++++++++ hmp.c | 76 +++++++++++++++++++++++++++++++++++++ hmp.h | 3 ++ qemu-doc.texi | 25 ++++++++---- qemu-nbd.c | 2 +- 7 file modificati, 263 inserzioni(+), 23 rimozioni(-)