From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Re : [Qemu-devel] Re: Making qemu images executable (and store command line arguments in them =P) Date: Thu, 16 Aug 2007 11:16:37 +0300 Message-ID: <46C407E5.5050607@qumranet.com> References: <497154.10348.qm@web25702.mail.ukl.yahoo.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, =?ISO-8859-1?Q?Jorge_Luc=E1ngeli_?=@sc8-sf-spam2.sourceforge.net To: qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org Return-path: In-Reply-To: <497154.10348.qm-kfZ4Lx4gWRrGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@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 Sylvain Petreolle wrote: >> ----- Message d'origine ---- >> De : Avi Kivity >> =C0 : qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org >> Cc : kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Jorge Luc=E1ngeli Obes >> Envoy=E9 le : Jeudi, 16 Ao=FBt 2007, 7h23mn 16s >> Objet : Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (= and store command line arguments in them =3DP) >> = >> = >>> 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. >> >> = > Wouldnt be #! Linux specific too ? > = It's unix-specific, not Linux-specific. Windows users can change file associations to have qemu run .qcow files. -- = 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 1ILaX4-0007r6-BQ for qemu-devel@nongnu.org; Thu, 16 Aug 2007 04:16:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILaX2-0007qj-Dd for qemu-devel@nongnu.org; Thu, 16 Aug 2007 04:16:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILaX2-0007qf-66 for qemu-devel@nongnu.org; Thu, 16 Aug 2007 04:16:40 -0400 Received: from il.qumranet.com ([82.166.9.18]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILaX1-0000F4-OV for qemu-devel@nongnu.org; Thu, 16 Aug 2007 04:16:40 -0400 Message-ID: <46C407E5.5050607@qumranet.com> Date: Thu, 16 Aug 2007 11:16:37 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: Re : [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P) References: <497154.10348.qm@web25702.mail.ukl.yahoo.com> In-Reply-To: <497154.10348.qm@web25702.mail.ukl.yahoo.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?Obes?= , =?ISO-8859-1?Q?Jorge_Luc=E1ngeli_?=@gnu.org Sylvain Petreolle wrote: >> ----- Message d'origine ---- >> De : Avi Kivity >> =C0 : qemu-devel@nongnu.org >> Cc : kvm-devel@lists.sourceforge.net; Jorge Luc=E1ngeli Obes >> Envoy=E9 le : Jeudi, 16 Ao=FBt 2007, 7h23mn 16s >> Objet : Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable= (and store command line arguments in them =3DP) >> =20 >> =20 >>> 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 migh= t >>> be a better choice. >>> >>> =20 >>> =20 >> >> binfmt_misc is Linux specific. And while kvm is a Linux thing now, qe= mu >> isn't. >> >> =20 > Wouldnt be #! Linux specific too ? > =20 It's unix-specific, not Linux-specific. Windows users can change file associations to have qemu run .qcow files. --=20 Do not meddle in the internals of kernels, for they are subtle and quick = to panic.