[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [kvm-devel] Réf. : Re: [PATCH][RFC] A llowing QEMU to

From: Daniel P. Berrange
Subject: [Qemu-devel] Re: [kvm-devel] Réf. : Re: [PATCH][RFC] A llowing QEMU to directly executeadirectory (and storing command line options in it)
Date: Sat, 1 Sep 2007 01:52:12 +0100
User-agent: Mutt/1.4.1i

On Fri, Aug 31, 2007 at 10:13:11PM +0200, address@hidden wrote:
> 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".

If you need this incredible 'simplicity', a 1 line shell script can easily
provide it for you;

    $ cat myqemu
    exec qemu -c $1/config

One of the great strengths of QEMU is its predictability - it may have a
huge number of command line args, but this is exactly what gives QEMU such
power & utility. It makes it very straightforward to build applications
around QEMU, and ensure it behaviours in a 100% reliable & predictable manner.
We should be wary of putting policy & heuristics into QEMU to turn it into
a 'black box' because that will compromise the use cases at which it currently
excels. A simple '-c' arg which takes a path to a config file is more than
sufficient, without needing heuristics to look for magical named files in

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]