From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCMlw-000752-Ql for qemu-devel@nongnu.org; Tue, 07 Jul 2015 02:54:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCMlv-0000G5-RF for qemu-devel@nongnu.org; Tue, 07 Jul 2015 02:54:28 -0400 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:35335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCMlv-0000EJ-In for qemu-devel@nongnu.org; Tue, 07 Jul 2015 02:54:27 -0400 Received: by labgy5 with SMTP id gy5so30686725lab.2 for ; Mon, 06 Jul 2015 23:54:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 7 Jul 2015 12:24:26 +0530 Message-ID: From: sai pavan Content-Type: multipart/alternative; boundary=089e0160b6f03e4741051a437e62 Subject: [Qemu-devel] Fwd: Using QCOW2 with nand flashes. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --089e0160b6f03e4741051a437e62 Content-Type: text/plain; charset=UTF-8 Hi, I am trying to implement fake disk images for emulating nand flashes. I see the spares files are formed when the content is zeros. But for nand flashes the content is all one's initially. It is difficult for me make a sparse file with all ones. Do any one have suggestions for this problem. I am thinking of creating an nand flash file with all zeros and negating the data at receiving end in qemu. So the input file will be null, but the concept of all 1's be intact. But this will be confusing if some one likes to compare the output bin files after a write. One should read the data negating. Regards, Sai Pavan --089e0160b6f03e4741051a437e62 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi,

I am trying to implement fake= disk images for emulating nand flashes.
I see the spares files a= re formed when the content is zeros. But for nand flashes the content is al= l one's initially. It is difficult for me make a sparse file with all o= nes.

Do any one have suggestions for this problem.=

I am thinking of creating an nand flash file with= all zeros and negating the data at receiving end in qemu. So the input fil= e will be null, but the concept of all 1's be intact. But this will be = confusing if some one likes to compare the output bin files after a write. = One should read the data negating.

Regards,
Sai= Pavan



--089e0160b6f03e4741051a437e62--