diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-19 08:51:06 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-19 08:51:06 -0500 |
commit | 5c20f4e54a311620861c659dec29d0ee402e8b93 (patch) | |
tree | 4e35db5155d8539650df69e629cc1a009ae54579 /error.h | |
parent | 46a5801d0cb5f5ed01a4d31c0e7cc581237ed5ce (diff) | |
parent | e1c37d0e94048502f9874e6356ce7136d4b05bdb (diff) | |
download | qemu-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |