[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Allow default network type to be determined fro
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] Allow default network type to be determined from an environmental variable |
Date: |
Sat, 19 Jan 2008 21:10:09 +0000 |
User-agent: |
KMail/1.9.7 |
> In the absence of a global configuration file, a reasonably sane way to
> support this configuration system wide is to use an environmental
> variable. QEMU already uses a number of global variables for
> configuring audio options.
I'd really prefer we didn't do this, and preferably obsoleted/removed the
existing environment variables. IMHO using environment variables is a really
bad idea and should be avoided wherever possible.
Environment variables are about the worst user interface I can think of. For a
start they're a global resource, which is limited on some systems.
It's also extremely hard to determine what environment a user is running. This
makes reproducing user bugs somewhere between hard and impossible.
Paul