This macro will be used in another file in the next
patch, so move it to common header file.
Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
src/openvz/openvz_util.c
src/parallels/parallels_driver.c
src/parallels/parallels_utils.c
+src/parallels/parallels_utils.h
src/parallels/parallels_storage.c
src/phyp/phyp_driver.c
src/qemu/qemu_agent.c
_("no domain with matching uuid '%s'"), uuidstr); \
} while (0)
-#define parallelsParseError() \
- virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__, \
- __FUNCTION__, __LINE__, _("Can't parse prlctl output"))
-
#define IS_CT(def) (STREQ_NULLABLE(def->os.type, "exe"))
static int parallelsClose(virConnectPtr conn);
# include "conf/domain_event.h"
# include "json.h"
+# define parallelsParseError() \
+ virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__, \
+ __FUNCTION__, __LINE__, _("Can't parse prlctl output"))
+
struct _parallelsConn {
virMutex lock;
virDomainObjList domains;