mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00: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/openvz/openvz_util.c
|
||||||
src/parallels/parallels_driver.c
|
src/parallels/parallels_driver.c
|
||||||
src/parallels/parallels_utils.c
|
src/parallels/parallels_utils.c
|
||||||
|
src/parallels/parallels_utils.h
|
||||||
src/parallels/parallels_storage.c
|
src/parallels/parallels_storage.c
|
||||||
src/phyp/phyp_driver.c
|
src/phyp/phyp_driver.c
|
||||||
src/qemu/qemu_agent.c
|
src/qemu/qemu_agent.c
|
||||||
|
@ -69,10 +69,6 @@
|
|||||||
_("no domain with matching uuid '%s'"), uuidstr); \
|
_("no domain with matching uuid '%s'"), uuidstr); \
|
||||||
} while (0)
|
} 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"))
|
#define IS_CT(def) (STREQ_NULLABLE(def->os.type, "exe"))
|
||||||
|
|
||||||
static int parallelsClose(virConnectPtr conn);
|
static int parallelsClose(virConnectPtr conn);
|
||||||
|
@ -30,6 +30,10 @@
|
|||||||
# include "conf/domain_event.h"
|
# include "conf/domain_event.h"
|
||||||
# include "json.h"
|
# include "json.h"
|
||||||
|
|
||||||
|
# define parallelsParseError() \
|
||||||
|
virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__, \
|
||||||
|
__FUNCTION__, __LINE__, _("Can't parse prlctl output"))
|
||||||
|
|
||||||
struct _parallelsConn {
|
struct _parallelsConn {
|
||||||
virMutex lock;
|
virMutex lock;
|
||||||
virDomainObjList domains;
|
virDomainObjList domains;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user