mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
parallels: move parallelsParseError to parallels_utils.h
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>
This commit is contained in:
parent
880fcf6ab2
commit
68c6d3dc31
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user