mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-04 10:55:19 +00:00
parallels: fix IS_CT macro
CT stands for containers, i.e. def->os.type should be compared with VIR_DOMAIN_OSTYPE_EXE rather than VIR_DOMAIN_OSTYPE_HVM Signed-off-by: Maxim Nestratov <mnestratov@parallels.com>
This commit is contained in:
parent
85cbe869f9
commit
236d5bc34d
@ -37,7 +37,7 @@
|
|||||||
virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__, \
|
virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__, \
|
||||||
__FUNCTION__, __LINE__, _("Can't parse prlctl output"))
|
__FUNCTION__, __LINE__, _("Can't parse prlctl output"))
|
||||||
|
|
||||||
# define IS_CT(def) (def->os.type == VIR_DOMAIN_OSTYPE_HVM)
|
# define IS_CT(def) (def->os.type == VIR_DOMAIN_OSTYPE_EXE)
|
||||||
|
|
||||||
# define parallelsDomNotFoundError(domain) \
|
# define parallelsDomNotFoundError(domain) \
|
||||||
do { \
|
do { \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user