From: Michael Goldish <[email protected]>
Signed-off-by: Michael Goldish <[email protected]>
---
client/tests/kvm/kvm.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py
index bab1e6f..0799cff 100644
--- a/client/tests/kvm/kvm.py
+++ b/client/tests/kvm/kvm.py
@@ -31,6 +31,10 @@ class kvm(test.test):
logging.debug(" %s = %s", key, params[key])
self.write_test_keyval({key: params[key]})
+ # Set the log file dir for the logging mechanism used by kvm_subprocess
+ # (this must be done before unpickling env)
+ kvm_utils.set_log_file_dir(self.debugdir)
+
# Open the environment file
logging.info("Unpickling env. You may see some harmless error "
"messages.")
--
1.7.0.1
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html