mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
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:
parent
73a43665c1
commit
d211ba7c49
@ -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) {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user