From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: Re: =?UTF-8?B?UsOpZi4gOiBSZTogW2t2bS1kZXZlbF0gWw==?= =?UTF-8?B?UEFUQ0hdW1JGQ10gQWxsb3dpbmcgUUVNVSB0byBkaXJlY3RseSBleGVjdXRlYWQ=?= =?UTF-8?B?aXJlY3RvcnkgKGFuZCBzdG9yaW5nIGNvbW1hbmQgbGluZSAgb3B0aW9ucyBpbiA=?= =?UTF-8?B?aXQp?= Date: Mon, 03 Sep 2007 11:12:05 +0200 Message-ID: <46DBCFE5.7050809@bull.net> References: <1188605977.6270.3.camel@squirrel> Reply-To: qemu-devel@nongnu.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBAB721F76756BA7FED5DCDCE" Cc: kvm-devel@lists.sourceforge.net, =?UTF-8?B?Sm9yZ2UgTHVjw6FuZ2VsaSBPYg==?= =?UTF-8?B?ZXM=?= To: qemu-devel@nongnu.org Return-path: In-Reply-To: <1188605977.6270.3.camel@squirrel> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBAB721F76756BA7FED5DCDCE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Anthony Liguori wrote: > On Fri, 2007-08-31 at 22:13 +0200, laurent.vivier@bull.net wrote: >> Hi Anthony, >> >> I think passing only the directory name is better because it can be li= ke 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". >=20 > You're overriding what "qemu my_pc" means. "qemu my_pc" create a QEMU > vm with 128m of memory and -hda my_pc with the default network card. >=20 > "qemu -c my_pc/config" only has one meaning: read command line argument= s > from "my_pc/config". >=20 > Your suggested syntax may be simpler for your particular use-case, but > it makes QEMU much more difficult to understand for every other user. I don't totally agree with you: "qemu my_pc", when my_pc is a file, as yo= u explain, has an implicit behavior "use vm with 128 MB and hda my_pc and t= he default network card", so perhaps we can have also "qemu my_pc", when my_= pc is a directory, has an implicit behavior "use vm as defined in my_pc/config an= d hd found in this directory". BUT, as there is a lot of debates on this, I AGREE WITH YOU: we should ch= oose the most simple, logic and common solution... and "-c" seems the good one= =2E Jorge made a very good work, it should be sad to not use it. Regards, Laurent --=20 ------------- Laurent.Vivier@bull.net -------------- "Software is hard" - Donald Knuth --------------enigBAB721F76756BA7FED5DCDCE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFG28/q9Kffa9pFVzwRAtZPAKDWm/IguKkhZeCsW/y1EZrsLA8u0gCgyShj pmlMwzA/Y5p6ORxeo61cKUc= =nZSl -----END PGP SIGNATURE----- --------------enigBAB721F76756BA7FED5DCDCE--