aboutsummaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-03-19 08:51:06 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-19 08:51:06 -0500
commit5c20f4e54a311620861c659dec29d0ee402e8b93 (patch)
tree4e35db5155d8539650df69e629cc1a009ae54579 /error.h
parent46a5801d0cb5f5ed01a4d31c0e7cc581237ed5ce (diff)
parente1c37d0e94048502f9874e6356ce7136d4b05bdb (diff)
downloadqemu-5c20f4e54a311620861c659dec29d0ee402e8b93.zip
qemu-5c20f4e54a311620861c659dec29d0ee402e8b93.tar.gz
qemu-5c20f4e54a311620861c659dec29d0ee402e8b93.tar.bz2
Merge remote-tracking branch 'qmp/queue/qmp' into staging
* qmp/queue/qmp: qapi: Convert migrate Purge migration of (almost) everything to do with monitors Error: Introduce error_copy() QError: Introduce new errors for the migration command
Diffstat (limited to 'error.h')
-rw-r--r--error.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/error.h b/error.h
index 6361f40..45ff6c1 100644
--- a/error.h
+++ b/error.h
@@ -35,6 +35,11 @@ void error_set(Error **err, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
bool error_is_set(Error **err);
/**
+ * Returns an exact copy of the error passed as an argument.
+ */
+Error *error_copy(const Error *err);
+
+/**
* Get a human readable representation of an error object.
*/
const char *error_get_pretty(Error *err);