public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Réf. : Re:  [PATCH][RFC] Allowing QEMU  to directly executeadirectory (and storing command line options in it)
@ 2007-08-31 20:13 laurent.vivier-6ktuUTfB/bM
  2007-08-31 21:09 ` Réf. : Re: [kvm-devel] " Johannes Schindelin
       [not found] ` <OF5352114A.9C6CEEE4-ONC1257348.006F117A-C1257348.006F1248-4ZAmCnR/+QsUrb4e85K3Fw@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: laurent.vivier-6ktuUTfB/bM @ 2007-08-31 20:13 UTC (permalink / raw)
  To: Anthony Liguori
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	qemu-devel-qX2TKyscuCcdnm+yROfE0A


Hi Anthony,

I think passing only the directory name is better because it can be like a
"black box" : the user don't have to know how it is inside. And it is much
more simple to use "qemu my_pc" than "qemu -c my_pc/config".

Regards,
Laurent

------------------------------------------------------
      Pour :      Jorge Lucángeli Obes <t4m5yn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
      cc :  kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org
      ccc :
      Objet :     Re: [kvm-devel] [PATCH][RFC] Allowing QEMU to directly
execute a directory (and storing command line options in it)
Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
Envoyé par : kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
31/08/2007 13:54 EST
            <font size=-1></font>



















It makes little sense to pass a directory when you can pass a config
file and assume that the directory the config file is in is the CWD.

For instance, if vm.cfg contained just the command line arguments, you
could have:

MyImage/vm.cfg:        -hda disk0.qcow -m 512
MyImage/disk0.qcow:    <disk image>

And then do:

qemu -c MyImage/vm.cfg







-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-03  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31 20:13 Réf. : Re: [PATCH][RFC] Allowing QEMU to directly executeadirectory (and storing command line options in it) laurent.vivier-6ktuUTfB/bM
2007-08-31 21:09 ` Réf. : Re: [kvm-devel] " Johannes Schindelin
     [not found]   ` <Pine.LNX.4.64.0708312206120.28586-OGWIkrnhIhzN0uC3ymp8PA@public.gmane.org>
2007-09-01 14:22     ` [Qemu-devel] Réf. : " Avi Kivity
     [not found]       ` <46D975A8.6020002-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-01 22:59         ` Johannes Schindelin
     [not found] ` <OF5352114A.9C6CEEE4-ONC1257348.006F117A-C1257348.006F1248-4ZAmCnR/+QsUrb4e85K3Fw@public.gmane.org>
2007-09-01  0:19   ` Anthony Liguori
2007-09-03  9:12     ` Re: Réf. : Re: [kvm-devel] " Laurent Vivier
2007-09-01  0:52   ` Réf. : " Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox