From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQ3yK-0007f6-GJ for qemu-devel@nongnu.org; Mon, 04 Aug 2008 13:35:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ3yJ-0007cy-Dx for qemu-devel@nongnu.org; Mon, 04 Aug 2008 13:35:51 -0400 Received: from [199.232.76.173] (port=36780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ3yI-0007bz-TL for qemu-devel@nongnu.org; Mon, 04 Aug 2008 13:35:50 -0400 Received: from yw-out-1718.google.com ([74.125.46.156]:45699) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQ3yI-0007Nk-S3 for qemu-devel@nongnu.org; Mon, 04 Aug 2008 13:35:51 -0400 Received: by yw-out-1718.google.com with SMTP id 6so1448746ywa.82 for ; Mon, 04 Aug 2008 10:35:49 -0700 (PDT) Message-ID: Date: Mon, 4 Aug 2008 20:35:49 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] [PATCH 7/7] xen: blk & nic configuration via cmd line. In-Reply-To: <1217865045-10722-8-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1217865045-10722-1-git-send-email-kraxel@redhat.com> <1217865045-10722-8-git-send-email-kraxel@redhat.com> 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: xen-devel@lists.xensource.com, Gerd Hoffmann On 8/4/08, Gerd Hoffmann wrote: > + index = drive_get_index(IF_XEN, 0, i); Oh, that's why IF_XEN. > + /* config cleanup hook */ > + atexit(xen_config_cleanup); I'd put this in vl.c, it's not machine specific.