From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K20Ne-0001mw-TJ for qemu-devel@nongnu.org; Fri, 30 May 2008 04:54:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K20Nc-0001lx-0Z for qemu-devel@nongnu.org; Fri, 30 May 2008 04:54:33 -0400 Received: from [199.232.76.173] (port=43580 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K20NZ-0001lk-Bm for qemu-devel@nongnu.org; Fri, 30 May 2008 04:54:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:35918) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K20NY-0008Ld-UT for qemu-devel@nongnu.org; Fri, 30 May 2008 04:54:29 -0400 Message-ID: <483FBFDC.1030602@suse.de> Date: Fri, 30 May 2008 10:50:36 +0200 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] about -drive argument References: <2803e73b0805280149w60bb4072k3b8b8aea3773db4f@mail.gmail.com> <1212049589.3858.11.camel@frecb07144> In-Reply-To: <1212049589.3858.11.camel@frecb07144> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: nicolas prochazka Laurent Vivier schrieb: >> an other issue: >> -drive file=/mnt/vdisk/test1.qcow2 if=scsi,bus=0,unit=6,boot=on,cache=off : ok >> -drive file=/mnt/vdisk/test1.qcow2,if=scsi,bus=0,unit=6,boot=on,cache=off >> : not ok image not found ( there's a , after file image file, as >> mentionned in doc The first list only seems to work ok because qemu silently ignores everything after the space, especially the cache=off which won't work with qow2 before Rev 4599. That's probably not what you wanted. You really need the comma. The wrong syntax also explains why you always get the default for the snapshot option. > And what is the result of "ls -l /mnt/vdisk/test1.qcow2" ? Actually, "qemu: could not open disk image xyz" is the expected behaviour before Rev 4599. Kevin