|
|
e76f14 |
From 095179b51623522f35cc1a2f46dd01ddc5e8d685 Mon Sep 17 00:00:00 2001
|
|
|
e76f14 |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
e76f14 |
Date: Wed, 6 Apr 2016 17:44:49 +0100
|
|
|
e76f14 |
Subject: [PATCH] tests/qemu: boot-analysis: (Don't) set LIBVIRT_LOG_FILTERS.
|
|
|
e76f14 |
|
|
|
e76f14 |
Setting LIBVIRT_LOG_FILTERS is supposed to be better than setting
|
|
|
e76f14 |
LIBVIRT_DEBUG, but I couldn't get it to work.
|
|
|
e76f14 |
|
|
|
e76f14 |
This updates commit b332d91bc9685e8992ede2c8a10655f26fd0395e.
|
|
|
e76f14 |
|
|
|
e76f14 |
(cherry picked from commit f24753ebb01ac96c092ee11aaa3f08df40d7ca00)
|
|
|
e76f14 |
---
|
|
|
e76f14 |
tests/qemu/boot-analysis.c | 2 ++
|
|
|
e76f14 |
1 file changed, 2 insertions(+)
|
|
|
e76f14 |
|
|
|
e76f14 |
diff --git a/tests/qemu/boot-analysis.c b/tests/qemu/boot-analysis.c
|
|
|
e76f14 |
index 2a43976..444226c 100644
|
|
|
e76f14 |
--- a/tests/qemu/boot-analysis.c
|
|
|
e76f14 |
+++ b/tests/qemu/boot-analysis.c
|
|
|
e76f14 |
@@ -686,6 +686,8 @@ libvirt_log_hack (int argc, char **argv)
|
|
|
e76f14 |
|
|
|
e76f14 |
/* Create the environment variables to enable logging in libvirt. */
|
|
|
e76f14 |
setenv ("LIBVIRT_DEBUG", "1", 1);
|
|
|
e76f14 |
+ //setenv ("LIBVIRT_LOG_FILTERS",
|
|
|
e76f14 |
+ // "1:qemu 1:securit 3:file 3:event 3:object 1:util", 1);
|
|
|
e76f14 |
snprintf (log_outputs, sizeof log_outputs,
|
|
|
e76f14 |
"1:file:/dev/fd/%d", libvirt_pipe[1]);
|
|
|
e76f14 |
setenv ("LIBVIRT_LOG_OUTPUTS", log_outputs, 1);
|
|
|
e76f14 |
--
|
|
|
e76f14 |
1.8.3.1
|
|
|
e76f14 |
|