parallels: move IS_CT macro to parallels_utils.h

This macro will be used in paralles_sdk.c so move it to common header.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
This commit is contained in:
Dmitry Guryanov 2014-12-01 18:38:47 +03:00 committed by Peter Krempa
parent 73a43665c1
commit d211ba7c49
2 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,6 @@ VIR_LOG_INIT("parallels.parallels_driver");
_("no domain with matching uuid '%s'"), uuidstr); \
} while (0)
#define IS_CT(def) (STREQ_NULLABLE(def->os.type, "exe"))
static int parallelsConnectClose(virConnectPtr conn);
static const char * parallelsGetDiskBusName(int bus) {

View File

@ -37,6 +37,8 @@
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 PARALLELS_ROUTED_NETWORK_NAME "Routed"
struct _parallelsConn {