Signed-off-by: Maxim Nestratov <mnestratov(a)parallels.com>
---
src/parallels/parallels_driver.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/src/parallels/parallels_driver.c b/src/parallels/parallels_driver.c
index 4b87213..b2ce2ef 100644
--- a/src/parallels/parallels_driver.c
+++ b/src/parallels/parallels_driver.c
@@ -120,6 +120,33 @@ parallelsBuildCapabilities(void)
NULL, NULL, 0, NULL) == NULL)
goto error;
+ if ((guest = virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_HVM,
+ VIR_ARCH_X86_64,
+ "vz",
+ NULL, 0, NULL)) == NULL)
+ goto error;
+
+ if ((guest = virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_HVM,
+ VIR_ARCH_I686,
+ "vz",
+ NULL, 0, NULL)) == NULL)
+ goto error;
+
+
+ if (virCapabilitiesAddGuestDomain(guest, VIR_DOMAIN_VIRT_VZ,
+ NULL, NULL, 0, NULL) == NULL)
+ goto error;
+
+ if ((guest = virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_EXE,
+ VIR_ARCH_X86_64,
+ "vz",
+ NULL, 0, NULL)) == NULL)
+ goto error;
+
+ if (virCapabilitiesAddGuestDomain(guest, VIR_DOMAIN_VIRT_VZ,
+ NULL, NULL, 0, NULL) == NULL)
+ goto error;
+
if (nodeGetInfo(&nodeinfo))
goto error;
--
2.1.0