aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-07-12 14:24:58 +0100
committerKonstantin Kostiuk <kkostiuk@redhat.com>2024-07-19 11:50:35 +0300
commitf8bf2347ed6036adf195202fa55c2cb587004679 (patch)
treed59f11a97ca38a64f030371cb8f25bb9408f0ccf /module-common.c
parent8909fc17329a01dc0dc973486484cc73c8520754 (diff)
downloadqemu-f8bf2347ed6036adf195202fa55c2cb587004679.zip
qemu-f8bf2347ed6036adf195202fa55c2cb587004679.tar.gz
qemu-f8bf2347ed6036adf195202fa55c2cb587004679.tar.bz2
qga: allow configuration file path via the cli
Allowing the user to set the QGA_CONF environment variable to change the default configuration file path is very unusual practice, made more obscure since this ability is not documented. This introduces the more normal '-c PATH' / '--config=PATH' command line argument approach. This requires that we parse the comamnd line twice, since we want the command line arguments to take priority over the configuration file settings in general. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Message-ID: <20240712132459.3974109-22-berrange@redhat.com> Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions