From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57110 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKXND-0007Rc-0k for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:28:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKXMO-00082d-AW for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:28:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKXMO-00082R-2u for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:27:12 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAMERBP5016318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 22 Nov 2010 09:27:11 -0500 Message-ID: <4CEA7DBD.9020904@redhat.com> Date: Mon, 22 Nov 2010 15:27:09 +0100 From: Jes Sorensen MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/1] NBD isn't used by qemu-img, so don't link qemu-img against NBD objects References: <1290184248-30078-1-git-send-email-Jes.Sorensen@redhat.com> <4CEA6102.3020709@redhat.com> <4CEA794F.40506@redhat.com> <4CEA7AFD.2050609@redhat.com> In-Reply-To: <4CEA7AFD.2050609@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org On 11/22/10 15:15, Kevin Wolf wrote: > Am 22.11.2010 15:08, schrieb Jes Sorensen: >> I am aware of that, but what on earth is qemu-img doing with NBD in the >> first place? Doesn't make much sense to me. > > The same as it's doing with file, host_device or http: Accessing images. > Start an NBD server (e.g. with qemu-nbd) and try something like qemu > -hda nbd:localhost. This is how you use the nbd block driver. Well ok, seems a really backwards way to try and shoot yourself in the foot, but ok, maybe I should redo the patch to simply allow compiling NBD out instead. Cheers, Jes