Share via


CheckSystemCompatibilityInfo method of the Msvm_VirtualSystemMigrationService class

Verifies whether a computer system is able to host the specified virtual machine (VM).

This method uses compatibility information that is generated by the GetSystemCompatibilityInfo method.

Syntax

uint32 CheckSystemCompatibilityInfo(
  [in]  uint8  CompatibilityInfo[],
  [out] string Reasons[]
);

Parameters

CompatibilityInfo [in]

An opaque blob generated by the GetSystemCompatibilityInfo method that represents either one VM or all VMs hosted by a computer system.

Reasons [out]

An array of strings containing Msvm_Error instances in CIM-XML format representing warnings or error information. These strings can be passed to the FormatError method to generate error messages.

Return value

The possible return values are:

Completed with No Error (0)

Method Parameters Checked - Job Started (4096)

Failed (32768)

Access Denied (32769)

Not Supported (32770)

Status is unknown (32771)

Timeout (32772)

Invalid parameter (32773)

System is in use (32774)

Invalid state for this operation (32775)

Incorrect data type (32776)

System is not available (32777)

Out of memory (32778)

Not compatible (32784)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

Msvm_VirtualSystemMigrationService