aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent/machine.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-02-04 14:39:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-02-04 15:10:27 +0200
commit57a4bdd563db4bc12ad1aa3aaa6d0000cc486fc7 (patch)
treeb6da601e1e275c21ad6b958e1b05c7df95259f32 /bbot/agent/machine.hxx
parent54ca39e390e6471c451e72b5796fb91ffdea0d2b (diff)
Use QMP (QEMU Machine Protocol) events as machine log file
Diffstat (limited to 'bbot/agent/machine.hxx')
-rw-r--r--bbot/agent/machine.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bbot/agent/machine.hxx b/bbot/agent/machine.hxx
index 04da80e..46ad544 100644
--- a/bbot/agent/machine.hxx
+++ b/bbot/agent/machine.hxx
@@ -53,6 +53,12 @@ namespace bbot
return wait (sec, fail_hard);
}
+ // Cleanup machine resources (logs, etc). Normally you would only call
+ // this after a successful (or successfully investigated) completion.
+ //
+ virtual void
+ cleanup () = 0;
+
// Print information about the machine (as info diagnostics) that can be
// useful for debugging (e.g., how to connect/login, etc).
//