qga: add QGA_CONF environment variable
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Oct 2015 12:58:14 +0000 (14:58 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 19 Oct 2015 23:28:06 +0000 (18:28 -0500)
commit8e34bf364ae518503642d28bdd43661090ae21bd
treef4bd31b55d4df405ea66d71ca09f2c85ae147005
parentf3a06403b82c7f036564e4caf18b52ce6885fcfb
qga: add QGA_CONF environment variable

Having a environment variable allows to override default configuration
path, useful for testing. Note that this can't easily be an argument,
since loading config is done before parsing the arguments.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/main.c