qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Add support for a configuration file


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH] Add support for a configuration file
Date: Thu, 15 May 2008 14:22:08 +0100
User-agent: Mutt/1.4.1i

On Thu, May 15, 2008 at 02:36:43PM +0200, andrzej zaborowski wrote:
> On 15/05/2008, Erik de Castro Lopo <address@hidden> wrote:
> > One thing I'd like to see is the ability to include one config file
> >  inside another.
> 
> That's a good idea, I suggested preprocessing with a cpp (-like) tool
> with this in mind.  This lets you kindof "make your own" syntax for
> the config file, redefine instead of search&replace, and allows a lib
> like libvirt to have its standard "base" config / "template" config
> that would be included by the generated files and used.

We don't really have a 'base' template for QEMU - we only specify the args
that are explicitly required based on the user's libvirt XML config. Plus
couple of extra ones to turn off default settings (eg -serial none) if the
user didn't ask for a serial device. So I'd probably not need includes
for the QEMU config. Definitely useful for people not using libvirt though

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




reply via email to

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