mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
parallels: add new guest capabilities assigned to vz driver
Signed-off-by: Maxim Nestratov <mnestratov@parallels.com>
This commit is contained in:
parent
a7f98a92cb
commit
4f01592c07
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user