From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IS7zf-0005IC-Cz for qemu-devel@nongnu.org; Mon, 03 Sep 2007 05:13:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IS7zd-0005HT-Jq for qemu-devel@nongnu.org; Mon, 03 Sep 2007 05:13:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS7zd-0005HN-Cb for qemu-devel@nongnu.org; Mon, 03 Sep 2007 05:13:13 -0400 Received: from ecfrec.frec.bull.fr ([129.183.4.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IS7zc-0006Bo-IG for qemu-devel@nongnu.org; Mon, 03 Sep 2007 05:13:13 -0400 Message-ID: <46DBCFE5.7050809@bull.net> Date: Mon, 03 Sep 2007 11:12:05 +0200 From: Laurent Vivier MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: =?UTF-8?B?UsOpZi4gOiBSZTogW2t2bS1kZXZlbF0gWw==?= =?UTF-8?B?UEFUQ0hdW1JGQ10gQWxsb3dpbmcgUUVNVSB0byBkaXJlY3RseSBleGVjdXRlYWQ=?= =?UTF-8?B?aXJlY3RvcnkgKGFuZCBzdG9yaW5nIGNvbW1hbmQgbGluZSAgb3B0aW9ucyBpbiA=?= =?UTF-8?B?aXQp?= References: <1188605977.6270.3.camel@squirrel> In-Reply-To: <1188605977.6270.3.camel@squirrel> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBAB721F76756BA7FED5DCDCE" 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, =?UTF-8?B?Sm9yZ2UgTHVjw6FuZ2VsaSBPYg==?= =?UTF-8?B?ZXM=?= 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--