Received: from eggs.gnu.org ([208.118.235.92]:59223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGXIB-0001z0-Ka for qemu-devel@nongnu.org; Fri, 15 Mar 2013 12:15:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGXI8-0007Us-NI for qemu-devel@nongnu.org; Fri, 15 Mar 2013 12:15:39 -0400 Received: from indium.canonical.com ([91.189.90.7]:56965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGXI8-0007Uj-IV for qemu-devel@nongnu.org; Fri, 15 Mar 2013 12:15:36 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UGXI7-00021D-Mx for ; Fri, 15 Mar 2013 16:15:35 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 95C642E807B for ; Fri, 15 Mar 2013 16:15:35 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Mar 2013 16:10:14 -0000 From: Richard Jones Sender: bounces@canonical.com References: <20130315161014.18447.2377.malonedeb@gac.canonical.com> Message-Id: <20130315161014.18447.2377.malonedeb@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1155677] [NEW] snapshot=on fails with non file-based storage Reply-To: Bug 1155677 <1155677@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: The snapshot=3Don option doesn't work with an nbd block device: /usr/bin/qemu-system-x86_64 \ [...] -device virtio-scsi-pci,id=3Dscsi \ -drive file=3Dnbd:localhost:61930,snapshot=3Don,format=3Draw,id=3Dhd0,i= f=3Dnone \ -device scsi-hd,drive=3Dhd0 \ [...] gives the error: qemu-system-x86_64: -drive file=3Dnbd:localhost:61930,snapshot=3Don,format=3Draw,id=3Dhd0,if=3Dnone: c= ould not open disk image nbd:localhost:61930: No such file or directory If you remove the snapshot=3Don flag, it works (although that of course means that the block device is writable which we don't want). Previously reported here: http://permalink.gmane.org/gmane.comp.emulators.qemu/148390 and I can confirm this still happens in qemu 1.4.0. ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1155677 Title: snapshot=3Don fails with non file-based storage Status in QEMU: New Bug description: The snapshot=3Don option doesn't work with an nbd block device: /usr/bin/qemu-system-x86_64 \ [...] -device virtio-scsi-pci,id=3Dscsi \ -drive file=3Dnbd:localhost:61930,snapshot=3Don,format=3Draw,id=3Dhd0= ,if=3Dnone \ -device scsi-hd,drive=3Dhd0 \ [...] gives the error: qemu-system-x86_64: -drive file=3Dnbd:localhost:61930,snapshot=3Don,format=3Draw,id=3Dhd0,if=3Dnone:= could not open disk image nbd:localhost:61930: No such file or directory If you remove the snapshot=3Don flag, it works (although that of course means that the block device is writable which we don't want). Previously reported here: http://permalink.gmane.org/gmane.comp.emulators.qemu/148390 and I can confirm this still happens in qemu 1.4.0. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1155677/+subscriptions