diff --git a/po/POTFILES.in b/po/POTFILES.in index 586aa2b5cd..50cdc4eaaa 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -77,6 +77,7 @@ src/openvz/openvz_driver.c 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 diff --git a/src/parallels/parallels_driver.c b/src/parallels/parallels_driver.c index 967679380b..389743fb51 100644 --- a/src/parallels/parallels_driver.c +++ b/src/parallels/parallels_driver.c @@ -69,10 +69,6 @@ _("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); diff --git a/src/parallels/parallels_utils.h b/src/parallels/parallels_utils.h index e4b3f8b0fd..8b0bdf680a 100644 --- a/src/parallels/parallels_utils.h +++ b/src/parallels/parallels_utils.h @@ -30,6 +30,10 @@ # 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;