Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1dT5-00053y-ME for qemu-devel@nongnu.org; Thu, 29 May 2008 04:26:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1dT3-00053d-Mq for qemu-devel@nongnu.org; Thu, 29 May 2008 04:26:39 -0400 Received: from [199.232.76.173] (port=32911 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1dT3-00053a-F3 for qemu-devel@nongnu.org; Thu, 29 May 2008 04:26:37 -0400 Received: from ecfrec.frec.bull.fr ([129.183.4.8]:46634) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1dT2-0007bW-Ou for qemu-devel@nongnu.org; Thu, 29 May 2008 04:26:37 -0400 Subject: Re: [Qemu-devel] about -drive argument From: Laurent Vivier In-Reply-To: <2803e73b0805280149w60bb4072k3b8b8aea3773db4f@mail.gmail.com> References: <2803e73b0805280149w60bb4072k3b8b8aea3773db4f@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Date: Thu, 29 May 2008 10:26:29 +0200 Message-Id: <1212049589.3858.11.camel@frecb07144> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 Le mercredi 28 mai 2008 =C3=A0 10:49 +0200, nicolas prochazka a =C3=A9cri= t : > Hi, > I'm doing some tests with -drive option, and it seems there's some issu= e : >=20 > -drive xxx ,snapshot=3Doff|on does not ok > =3D> if i create two drive -drive file=3D/mnt/vdisk/test1.qcow2 > if=3Dscsi,bus=3D0,unit=3D6,boot=3Don,cache=3Doff,snapshot=3Don -drive > file=3D/mnt/vdisk/test2.qcow2 > if=3Dscsi,bus=3D0,unit=3D2,cache=3Doff,snapshot=3Doff > it does not run, test1.qcow2 and test2.qcow2 seems to be in the same > mode ( no snapshot) > Only -snapshot in qemu command seems to be ok. The valid syntax is with a comma: -drive file=3D/mnt/vdisk/test1.qcow2,if=3Dscsi,bus=3D0,unit=3D6,boot=3Don= ,cache=3Doff,snapshot=3Don but cache=3Doff and snapshot=3Don are only compatible since the commit 45= 99. >=20 > an other issue: > -drive file=3D/mnt/vdisk/test1.qcow2 if=3Dscsi,bus=3D0,unit=3D6,boot=3D= on,cache=3Doff : ok > -drive file=3D/mnt/vdisk/test1.qcow2,if=3Dscsi,bus=3D0,unit=3D6,boot=3D= on,cache=3Doff > : not ok image not found ( there's a , after file image file, as > mentionned in doc And what is the result of "ls -l /mnt/vdisk/test1.qcow2" ? Laurent=20 --=20 ------------- Laurent.Vivier@bull.net --------------- "The best way to predict the future is to invent it." - Alan Kay