From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fch0A-0002Xe-Qv for qemu-devel@nongnu.org; Sun, 07 May 2006 07:00:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fch0A-0002XQ-4U for qemu-devel@nongnu.org; Sun, 07 May 2006 07:00:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fch09-0002XM-ST for qemu-devel@nongnu.org; Sun, 07 May 2006 07:00:37 -0400 Received: from [195.228.240.16] (helo=graveyard2.mail.t-online.hu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fch0k-0007KU-Eg for qemu-devel@nongnu.org; Sun, 07 May 2006 07:01:14 -0400 Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard2.mail.t-online.hu (Postfix) with ESMTP id 561CD202C9DA for ; Sun, 7 May 2006 13:00:35 +0200 (CEST) Received: from mail.chello.hu (dsl51B676EB.pool.t-online.hu [81.182.118.235]) by mail.t-online.hu (Postfix) with ESMTP for ; Sun, 7 May 2006 13:00:33 +0200 (CEST) Date: Sun, 07 May 2006 13:00:32 +0200 Subject: Re: [Qemu-devel] qemu disk on vfat References: <1147082690.5817.23.camel@localhost> From: NyOS Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-2 MIME-Version: 1.0 Message-ID: In-Reply-To: <1147082690.5817.23.camel@localhost> 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 On Mon, 08 May 2006 12:04:50 +0200, Yann Le Doar=E9 =20 wrote: > Hi, > > It seems like qemu 0.8.0 does not accept image file from a vfat > partition. Is it a bug ? > > Greetings. > > Yann Le Doar=E9. > > > strace : > > open("/mnt/partitions/windows0/qmeu-disk", O_RDONLY|O_LARGEFILE) =3D 7 > read(7, "", 1024) =3D 0 > close(7) =3D 0 > open("/mnt/partitions/windows0/qmeu-disk", O_RDONLY|O_LARGEFILE) =3D 7 > _llseek(7, 128, [128], SEEK_SET) =3D 0 > read(7, "", 4) =3D 0 > close(7) =3D 0 > write(2, "qemu: could not open hard disk i"..., 74qemu: could not open > hard disk image '/mnt/partitions/windows0/qmeu-disk' > ) =3D 74 > exit_group(1) =3D ? > > > > Hi! What size is it? Linux only supports vfat (FAT32) partitions with at most= =20 4GB files. A disc image can easily reach that. If the problem is that, the bug is in the kernel, not in qemu. (Just try = =20 to copy it an ext2/3 partition. If is isn't possible, or its size differs= , =20 the bug has nothing to do with qemu.) Miklos Gyozo ps. ext2/3 is surely better than vfat for disc images, cause it supports = =20 holes