From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] Re: Making qemu images executable (and store command line arguments in them =P) Date: Thu, 16 Aug 2007 08:23:16 +0300 Message-ID: <46C3DF44.5040403@qumranet.com> References: <59abf66e0708151552r6192f7e1he7ebe5bffd49525f@mail.gmail.com> <46C3D109.3080807@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org Return-path: In-Reply-To: <46C3D109.3080807-YMNOUZJC4hwAvxtiuMwx3w@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 H. Peter Anvin wrote: > Jorge Luc=E1ngeli Obes wrote: > = >> The '#!' trick works nice with scripts, but I don't see it playing >> very well with images. =BFComments? =BFPointers? >> >> = > > Well, you can make it work with a header (you just have to pad it out to > a fixed length or use a variable-offset format), but binfmt_misc might > be a better choice. > > = binfmt_misc is Linux specific. And while kvm is a Linux thing now, qemu isn't. -- = Do not meddle in the internals of kernels, for they are subtle and quick to= panic. ------------------------------------------------------------------------- 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/