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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILXpI-0007Km-2v for qemu-devel@nongnu.org; Thu, 16 Aug 2007 01:23:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILXpG-0007Ij-7Z for qemu-devel@nongnu.org; Thu, 16 Aug 2007 01:23:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILXpG-0007IX-10 for qemu-devel@nongnu.org; Thu, 16 Aug 2007 01:23:18 -0400 Received: from il.qumranet.com ([82.166.9.18]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILXpF-0003Ha-Ix for qemu-devel@nongnu.org; Thu, 16 Aug 2007 01:23:17 -0400 Message-ID: <46C3DF44.5040403@qumranet.com> Date: Thu, 16 Aug 2007 08:23:16 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P) References: <59abf66e0708151552r6192f7e1he7ebe5bffd49525f@mail.gmail.com> <46C3D109.3080807@zytor.com> In-Reply-To: <46C3D109.3080807@zytor.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: kvm-devel@lists.sourceforge.net, =?ISO-8859-1?Q?Jorge_Luc=E1ngeli_Obes?= H. Peter Anvin wrote: > Jorge Luc=E1ngeli Obes wrote: > =20 >> The '#!' trick works nice with scripts, but I don't see it playing >> very well with images. =BFComments? =BFPointers? >> >> =20 > > Well, you can make it work with a header (you just have to pad it out t= o > a fixed length or use a variable-offset format), but binfmt_misc might > be a better choice. > > =20 binfmt_misc is Linux specific. And while kvm is a Linux thing now, qemu isn't. --=20 Do not meddle in the internals of kernels, for they are subtle and quick = to panic.