qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 1/3] Support --sysconfdir in configure to sp


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Re: [PATCH 1/3] Support --sysconfdir in configure to specify path to configuration files (v3)
Date: Mon, 25 Jan 2010 22:19:45 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 01/25/2010 10:14 PM, Anthony Liguori wrote:
On 01/25/2010 03:05 PM, Paolo Bonzini wrote:

I'm not sure about the choice for Windows. Do we want
possibly a dozen of .conf files all in the same directory as
the binaries, or maybe it's better to set sysconfdir =
${prefix}/conf, confdir=${sysconfdir} on Windows?

I honestly don't know. What's the normal thing to do with
Windows?

The registry, I think.

The registry would be used indeed to get the path or to override
defaults. However, what would be the default value (written in the
registry by the installer, or used by the program if the registry
value is absent)?

ini-style configs are not at all uncommon on Windows. I also don't
think it's that uncommon to store executables and config files
side-by-side in a Program Files directory.

Indeed, that's what I'm saying.  The registry may hold a path to the
ini files, but you would still have to think of a sane default.  You
chose the binaries' directory, fine, that's not a huge deal---someone
who cares about Windows can step up and say what they think.

Paolo




reply via email to

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