mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +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__, \
|
||||
__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) \
|
||||
do { \
|
||||
|
Loading…
Reference in New Issue
Block a user