From: Dan Shearer Subject: Re: [Qemu-devel] Making qemu images executable (and store command line arguments in them =P) Date: Fri, 17 Aug 2007 06:06:25 +0930 Message-ID: <20070816203625.GP26881@erizo.shearer.org> References: <21867471.1187283941478.JavaMail.root@eastrmwml26.mgt.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: sol10x86-j9pdmedNgrk@public.gmane.org, qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org Return-path: Content-Disposition: inline In-Reply-To: <21867471.1187283941478.JavaMail.root-Fl5e2thpha4zbC/FaE+QG4/aXZnnTYK5@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Thu, Aug 16, 2007 at 01:05:41PM -0400, Ben Taylor wrote: > Personally, I'm not sure why we wouldn't just write out the command line > data to a file tied to the primary image file What about a compatible change to the file format: the last 1024 bytes are either undefined, or, if a certain marker is present, an executable commandline? (I was going to say one standard sector, then I thought of how quickly i18n filenames add up.) This is metadata, I have a feeling that if we think about it there will be quite a lot of other metadata we'd like to store with the image. > with some kind of time stamp to correlate the data from the command > line and the last updated time of the primary image file. If there have to be separate files I'd prefer a weak hash to timestamps to avoid the common problems with unexpected drift and no way to calculate which changed and why. -- Dan Shearer dan-QNUrB6Xd9YFAfugRpC6u6w@public.gmane.org ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/