tests/qemu: boot-analysis: (Don't) set LIBVIRT_LOG_FILTERS.

Setting LIBVIRT_LOG_FILTERS is supposed to be better than setting
LIBVIRT_DEBUG, but I couldn't get it to work.

This updates commit b332d91bc9.
This commit is contained in:
Richard W.M. Jones
2016-04-06 17:44:49 +01:00
parent b332d91bc9
commit f24753ebb0

View File

@@ -686,6 +686,8 @@ libvirt_log_hack (int argc, char **argv)
/* Create the environment variables to enable logging in libvirt. */
setenv ("LIBVIRT_DEBUG", "1", 1);
//setenv ("LIBVIRT_LOG_FILTERS",
// "1:qemu 1:securit 3:file 3:event 3:object 1:util", 1);
snprintf (log_outputs, sizeof log_outputs,
"1:file:/dev/fd/%d", libvirt_pipe[1]);
setenv ("LIBVIRT_LOG_OUTPUTS", log_outputs, 1);