Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Xsp0-000449-FK for qemu-devel@nongnu.org; Wed, 02 Jul 2003 21:23:38 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Xsou-0003nI-IT for qemu-devel@nongnu.org; Wed, 02 Jul 2003 21:23:34 -0400 Received: from dp.samba.org ([66.70.73.150] helo=lists.samba.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Xsoc-00038s-TY for qemu-devel@nongnu.org; Wed, 02 Jul 2003 21:23:14 -0400 From: Rusty Russell In-reply-to: Your message of "Wed, 02 Jul 2003 11:49:17 +0200." <3F02AA9D.1030307@free.fr> Date: Thu, 03 Jul 2003 09:54:18 +1000 Sender: rusty@bach.samba.org Message-Id: <20030703012314.9040F2C0CA@lists.samba.org> Subject: [Qemu-devel] Re: [PATCH] Snapshot block device support Reply-To: qemu-devel@nongnu.org List-Id: List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , To: Fabrice Bellard Cc: qemu-devel@nongnu.org In message <3F02AA9D.1030307@free.fr> you write: > I had plans to implement "copy on write" disk images...I find your > approach original. My initial plan was just to add a second disk image > for each disk containing the changes. It should be easy to do it from > your code (for example by adding options '-hdacow file' where file is > the snapshot file you use). Sure: I used a temporary (unlinked) file because I couldn't see much point in keeping it around. Since most filesystems do sparse files, it's quite efficient, too. -hdacow with an optional argument would work really well, if that's desired behaviour. I'm glad I finally beat you to implementing something: you're usually too quick 8) > About IDE, it is working (at least with kernel 2.4.20). Someone has even > compiled a linux kernel inside QEMU (slowdown factor of about 15), so vl > begins to be usable for real tasks. There are still known problems if > several processes use floating point at the same time. OK, I'm getting errors with IDE on 2.5, but shouldn't be too hard to track down. Thanks! Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.