From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOCqC-0000AF-Bx for qemu-devel@nongnu.org; Sun, 10 Feb 2008 09:07:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOCqA-00009r-Jb for qemu-devel@nongnu.org; Sun, 10 Feb 2008 09:07:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOCqA-00009n-GM for qemu-devel@nongnu.org; Sun, 10 Feb 2008 09:07:30 -0500 Received: from ug-out-1314.google.com ([66.249.92.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOCqA-00060q-35 for qemu-devel@nongnu.org; Sun, 10 Feb 2008 09:07:30 -0500 Received: by ug-out-1314.google.com with SMTP id m2so142462uge.4 for ; Sun, 10 Feb 2008 06:07:28 -0800 (PST) Message-ID: Date: Sun, 10 Feb 2008 15:07:28 +0100 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] [PATCH] loadvm for read-only snapshot files In-Reply-To: <47A6036A.9050705@cs.ucla.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47A6036A.9050705@cs.ucla.edu> 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: Paul Eggert On 03/02/2008, Eddie Kohler wrote: > The following patch, against cvs, supports read-only snapshots on read-only > qcow2 image files. Snapshots can be loaded, but not saved. This is really > useful in my context, which is operating systems projects; a read-only memory > snapshot allows students to share a snapshot that skips the boot process, > allowing them to run their code right away. > > Please let me know if anything needs changing. Instead of including "block_int.h" in vl.c you should use the provided functions from "block.h" (bs->drv can be checked with _is_inserted). -- Please do not print this email unless absolutely necessary. Spread environmental awareness.