Received: from eggs.gnu.org ([208.118.235.92]:57954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdaP-0006GY-KD for qemu-devel@nongnu.org; Mon, 18 Mar 2013 13:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHdaK-0007ya-4x for qemu-devel@nongnu.org; Mon, 18 Mar 2013 13:11:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdaJ-0007yN-Tb for qemu-devel@nongnu.org; Mon, 18 Mar 2013 13:10:56 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2IHAt7t007178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Mar 2013 13:10:55 -0400 Date: Mon, 18 Mar 2013 18:10:52 +0100 From: Kevin Wolf Message-ID: <20130318171052.GG2476@dhcp-200-207.str.redhat.com> References: <1363625934-13506-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1363625934-13506-1-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/2] block: fix BDRV_O_SNAPSHOT with protocols List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, rjones@redhat.com Am 18.03.2013 um 17:58 hat Stefan Hajnoczi geschrieben: > Richard Jones reported that BDRV_O_SNAPSHOT does not work > with NBD: > > /usr/bin/qemu-system-x86_64 \ > [...] > -device virtio-scsi-pci,id=scsi \ > -drive file=nbd:localhost:61930,snapshot=on,format=raw,id=hd0,if=none \ > -device scsi-hd,drive=hd0 \ > [...] > > gives the error: > > qemu-system-x86_64: -drive file=nbd:localhost:61930,snapshot=on,format=raw,id=hd0,if=none: could not open disk image nbd:localhost:61930: No such file or directory > > This series fixes the issue and adds a regression test, qemu-iotests 052. Run > the test like this: > > $ QEMU_PROG=... PATH=... ./check -nbd 052 > > If Patch 1 is not applied, the test case fails. Note that the test case is > also useful with -raw or other formats. > > v2: > * Rebased onto latest qemu.git/master Thanks, applied all to the block branch. Kevin