Partager via


Msvm_Processor class

Represents the virtual processor in a virtual computer system.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_Processor : CIM_Processor
{
  string   Caption = "Processor";
  string   Description = "Microsoft Virtual Processor";
  datetime InstallDate;
  string   Name = "GUID";
  uint16   OperationalStatus[] = 2;
  string   StatusDescriptions[] = { "OK" };
  string   Status;
  uint16   HealthState = 5;
  uint16   EnabledState = 5;
  string   OtherEnabledState;
  uint16   RequestedState = 5;
  datetime TimeOfLastStateChange;
  string   SystemCreationClassName = "Msvm_ComputerSystem";
  string   SystemName = "GUID";
  string   CreationClassName = ;
  string   DeviceID = "Microsoft:GUID\device specific data";
  boolean  PowerManagementSupported;
  uint16   PowerManagementCapabilities[];
  uint16   Availability = 6;
  uint16   StatusInfo;
  uint32   LastErrorCode;
  string   ErrorDescription;
  boolean  ErrorCleared;
  string   OtherIdentifyingInfo[];
  uint64   PowerOnHours;
  uint64   TotalPowerOnHours;
  string   IdentifyingDescriptions[];
  uint16   AdditionalAvailability[] = 6;
  uint64   MaxQuiesceTime;
  uint16   LocationIndicator = 4;
  string   Role = "Virtual Processor";
  uint16   Family;
  string   OtherFamilyDescription;
  uint16   UpgradeMethod = 6;
  uint32   MaxClockSpeed;
  uint32   CurrentClockSpeed;
  uint16   DataWidth;
  uint16   AddressWidth;
  uint16   LoadPercentage;
  string   Stepping;
  string   UniqueID;
  uint16   CPUStatus = 1;
  uint32   ExternalBusClockSpeed;
  uint16   Characteristics[];
  string   ElementName = "Processor";
  uint16   EnabledDefault = 5;
  uint16   LoadPercentageHistory[];
};

Members

The Msvm_Processor class has these types of members:

Methods

The Msvm_Processor class has these methods.

Method Description
EnableDevice This method is not supported.
OnlineDevice This method is not supported.
QuiesceDevice This method is not supported.
RequestStateChange This method is not supported.
Reset This method is not supported.
RestoreProperties This method is not supported.
SaveProperties This method is not supported.
SetPowerState This method is not supported.

Properties

The Msvm_Processor class has these properties.

AdditionalAvailability

Data type: uint16 array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_LogicalDevice.Availability")

Any additional availability and status of the device, beyond that specified in the Availability property. The Availability property denotes the primary status and availability of the device. This property is inherited from CIM_LogicalDevice and it is always set to 6 (Not Applicable).

AddressWidth

Data type: uint16

Access type: Read-only

Qualifiers: Units ("Bits")

The processor address width, in bits. This property is inherited from CIM_Processor and the value is either 32 or 64, depending on the characteristics of the virtual machine.

Availability

Data type: uint16

Access type: Read-only

Qualifiers: Deprecated ("CIM_AssociatedPowerManagementService.PowerState", "CIM_ManagedSystemElement.OperationalStatus", "CIM_EnabledLogicalElement.EnabledState"), MappingStrings ("MIF.DMTF|Operational State|006.5", "MIB.IETF|HOST-RESOURCES-MIB.hrDeviceStatus", "MIF.DMTF|Host Device|001.5"), ModelCorrespondence ("CIM_LogicalDevice.AdditionalAvailability")

This property is inherited from CIM_LogicalDevice and is set to 6 (Not Applicable).

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description (one-line string) of the object. This property is inherited from CIM_ManagedElement and it is always set to "Processor".

Characteristics

Data type: uint16 array

Access type: Read-only

Qualifiers: Experimental

Describes the bit architecture of the processor. This property is inherited from CIM_Processor. Valid values for this array are:

Unknown (0)

Unknown

DMTF Reserved (1)

64-bit Capable (2)

64-bit capable

32-bit Capable (3)

32-bit capable

CPUStatus

Data type: uint16

Access type: Read-only

The current status of the processor. This property is inherited from CIM_Processor and it is always set to 1 (CPU Enabled).

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified. This property is inherited from CIM_LogicalDevice and it is always set to "Msvm_Processor".

CurrentClockSpeed

Data type: uint32

Access type: Read-only

Qualifiers: Units ("MegaHertz"), MappingStrings ("MIF.DMTF|Processor|017.6")

The maximum speed of the physical processor, taking into account the capacity for the virtual processor. This property is inherited from CIM_Processor.

DataWidth

Data type: uint16

Access type: Read-only

Qualifiers: Units ("Bits")

The processor data width, in bits. This property is inherited from CIM_Processor and the value is either 32 or 64, depending on the characteristics of the virtual machine.

Description

Data type: string

Access type: Read-only

A textual description of the object. This property is inherited from CIM_ManagedElement and it is always set to "Microsoft Virtual Processor".

DeviceID

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (64)

An address or other identifying information to uniquely name the logical device. This property is inherited from CIM_LogicalDevice and it is always set to "Microsoft:GUID\device specific data".

ElementName

Data type: string

Access type: Read-only

A user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information. Note that the Name property of the CIM_ManagedSystemElement class is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user-friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information can be present in both the Name and ElementName properties. This property is inherited from CIM_ManagedElement and it is always set to "Processor".

EnabledDefault

Data type: uint16

Access type: Read/write

An administrator's default or startup configuration for the Enabled State of an element. This property is inherited from CIM_EnabledLogicalElement and it is always set to 5 (Enabled).

EnabledState

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EnabledLogicalElement.OtherEnabledState")

The enabled and disabled states of an element. This property is inherited from CIM_EnabledLogicalElement and it is always set to 5 (Enabled).

Not Applicable (5)

Indicates the element does not support to be enabled or disabled.

ErrorCleared

Data type: boolean

Access type: Read-only

Qualifiers: Deprecated ("CIM_ManagedSystemElement.OperationalStatus")

This property is inherited from CIM_LogicalDevice but it is not used.

ErrorDescription

Data type: string

Access type: Read-only

Qualifiers: Deprecated ("CIM_DeviceErrorData.ErrorDescription")

This property is inherited from CIM_LogicalDevice but it is not used.

ExternalBusClockSpeed

Data type: uint32

Access type: Read-only

Qualifiers: Experimental, Units ("MegaHertz")

The external bus clock speed of the underlying physical processor. This property is inherited from CIM_Processor.

Family

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Processor|017.3"), ModelCorrespondence ("CIM_Processor.OtherFamilyDescription")

The processor family of the underlying physical processor. This property is inherited from CIM_Processor.

The possible values are.

Other (1)

Unknown (2)

8086 (3)

80286 (4)

80386 (5)

80486 (6)

8087 (7)

80287 (8)

80387 (9)

80487 (10)

Pentium(R) brand (11)

Pentium(R) Pro (12)

Pentium(R) II (13)

Pentium(R) processor with MMX(TM) technology (14)

Celeron(TM) (15)

Pentium(R) II Xeon(TM) (16)

Pentium(R) III (17)

M1 Family (18)

M2 Family (19)

Intel(R) Celeron(R) M processor (20)

Intel(R) Pentium(R) 4 HT processor (21)

K5 Family (24)

K6 Family (25)

K6-2 (26)

K6-3 (27)

AMD Athlon(TM) Processor Family (28)

AMD(R) Duron(TM) Processor (29)

AMD29000 Family (30)

K6-2+ (31)

Power PC Family (32)

Power PC 601 (33)

Power PC 603 (34)

Power PC 603+ (35)

Power PC 604 (36)

Power PC 620 (37)

Power PC X704 (38)

Power PC 750 (39)

Intel(R) Core(TM) Duo processor (40)

Intel(R) Core(TM) Duo mobile processor (41)

Intel(R) Core(TM) Solo mobile processor (42)

Intel(R) Atom(TM) processor (43)

Alpha Family (48)

Alpha 21064 (49)

Alpha 21066 (50)

Alpha 21164 (51)

Alpha 21164PC (52)

Alpha 21164a (53)

Alpha 21264 (54)

Alpha 21364 (55)

AMD Turion(TM) II Ultra Dual-Core Mobile M Processor Family (56)

AMD Turion(TM) II Dual-Core Mobile M Processor Family (57)

AMD Athlon(TM) II Dual-Core Mobile M Processor Family (58)

AMD Opteron(TM) 6100 Series Processor (59)

AMD Opteron(TM) 4100 Series Processor (60)

MIPS Family (64)

MIPS R4000 (65)

MIPS R4200 (66)

MIPS R4400 (67)

MIPS R4600 (68)

MIPS R10000 (69)

SPARC Family (80)

SuperSPARC (81)

microSPARC II (82)

microSPARC IIep (83)

UltraSPARC (84)

UltraSPARC II (85)

UltraSPARC IIi (86)

UltraSPARC III (87)

UltraSPARC IIIi (88)

68040 (96)

68xxx Family (97)

68000 (98)

68010 (99)

68020 (100)

68030 (101)

Hobbit Family (112)

Crusoe(TM) TM5000 Family (120)

Crusoe(TM) TM3000 Family (121)

Efficeon(TM) TM8000 Family (122)

Weitek (128)

Itanium(TM) Processor (130)

AMD Athlon(TM) 64 Processor Family (131)

AMD Opteron(TM) Processor Family (132)

AMD Sempron(TM) Processor Family (133)

AMD Turion(TM) 64 Mobile Technology (134)

Dual-Core AMD Opteron(TM) Processor Family (135)

AMD Athlon(TM) 64 X2 Dual-Core Processor Family (136)

AMD Turion(TM) 64 X2 Mobile Technology (137)

Quad-Core AMD Opteron(TM) Processor Family (138)

Third-Generation AMD Opteron(TM) Processor Family (139)

AMD Phenom(TM) FX Quad-Core Processor Family (140)

AMD Phenom(TM) X4 Quad-Core Processor Family (141)

AMD Phenom(TM) X2 Dual-Core Processor Family (142)

AMD Athlon(TM) X2 Dual-Core Processor Family (143)

PA-RISC Family (144)

PA-RISC 8500 (145)

PA-RISC 8000 (146)

PA-RISC 7300LC (147)

PA-RISC 7200 (148)

PA-RISC 7100LC (149)

PA-RISC 7100 (150)

V30 Family (160)

Quad-Core Intel(R) Xeon(R) processor 3200 Series (161)

Dual-Core Intel(R) Xeon(R) processor 3000 Series (162)

Quad-Core Intel(R) Xeon(R) processor 5300 Series (163)

Dual-Core Intel(R) Xeon(R) processor 5100 Series (164)

Dual-Core Intel(R) Xeon(R) processor 5000 Series (165)

Dual-Core Intel(R) Xeon(R) processor LV (166)

Dual-Core Intel(R) Xeon(R) processor ULV (167)

Dual-Core Intel(R) Xeon(R) processor 7100 Series (168)

Quad-Core Intel(R) Xeon(R) processor 5400 Series (169)

Quad-Core Intel(R) Xeon(R) processor (170)

Dual-Core Intel(R) Xeon(R) processor 5200 Series (171)

Dual-Core Intel(R) Xeon(R) processor 7200 Series (172)

Quad-Core Intel(R) Xeon(R) processor 7300 Series (173)

Quad-Core Intel(R) Xeon(R) processor 7400 Series (174)

Multi-Core Intel(R) Xeon(R) processor 7400 Series (175)

Pentium(R) III Xeon(TM) (176)

Pentium(R) III Processor with Intel(R) SpeedStep(TM) Technology (177)

Pentium(R) 4 (178)

Intel(R) Xeon(TM) (179)

AS400 Family (180)

Intel(R) Xeon(TM) processor MP (181)

AMD Athlon(TM) XP Family (182)

AMD Athlon(TM) MP Family (183)

Intel(R) Itanium(R) 2 (184)

Intel(R) Pentium(R) M processor (185)

Intel(R) Celeron(R) D processor (186)

Intel(R) Pentium(R) D processor (187)

Intel(R) Pentium(R) Processor Extreme Edition (188)

Intel(R) Core(TM) Solo Processor (189)

K7 (190)

Intel(R) Core(TM)2 Duo Processor (191)

Intel(R) Core(TM)2 Solo processor (192)

Intel(R) Core(TM)2 Extreme processor (193)

Intel(R) Core(TM)2 Quad processor (194)

Intel(R) Core(TM)2 Extreme mobile processor (195)

Intel(R) Core(TM)2 Duo mobile processor (196)

Intel(R) Core(TM)2 Solo mobile processor (197)

Intel(R) Core(TM) i7 processor (198)

Dual-Core Intel(R) Celeron(R) Processor (199)

S/390 and zSeries Family (200)

ESA/390 G4 (201)

ESA/390 G5 (202)

ESA/390 G6 (203)

z/Architectur base (204)

Intel(R) Core(TM) i5 processor (205)

Intel(R) Core(TM) i3 processor (206)

VIA C7(TM)-M Processor Family (210)

VIA C7(TM)-D Processor Family (211)

VIA C7(TM) Processor Family (212)

VIA Eden(TM) Processor Family (213)

Multi-Core Intel(R) Xeon(R) processor (214)

Dual-Core Intel(R) Xeon(R) processor 3xxx Series (215)

Quad-Core Intel(R) Xeon(R) processor 3xxx Series (216)

VIA Nano(TM) Processor Family (217)

Dual-Core Intel(R) Xeon(R) processor 5xxx Series (218)

Quad-Core Intel(R) Xeon(R) processor 5xxx Series (219)

Dual-Core Intel(R) Xeon(R) processor 7xxx Series (221)

Quad-Core Intel(R) Xeon(R) processor 7xxx Series (222)

Multi-Core Intel(R) Xeon(R) processor 7xxx Series (223)

Multi-Core Intel(R) Xeon(R) processor 3400 Series (224)

Embedded AMD Opteron(TM) Quad-Core Processor Family (230)

AMD Phenom(TM) Triple-Core Processor Family (231)

AMD Turion(TM) Ultra Dual-Core Mobile Processor Family (232)

AMD Turion(TM) Dual-Core Mobile Processor Family (233)

AMD Athlon(TM) Dual-Core Processor Family (234)

AMD Sempron(TM) SI Processor Family (235)

AMD Phenom(TM) II Processor Family (236)

AMD Athlon(TM) II Processor Family (237)

Six-Core AMD Opteron(TM) Processor Family (238)

AMD Sempron(TM) M Processor Family (239)

i860 (250)

i960 (251)

Reserved (SMBIOS Extension) (254)

Reserved (Un-initialized Flash Content - Lo) (255)

SH-3 (260)

SH-4 (261)

ARM (280)

StrongARM (281)

6x86 (300)

MediaGX (301)

MII (302)

WinChip (320)

DSP (350)

Video Processor (500)

Reserved (For Future Special Purpose Assignment) (65534)

Reserved (Un-initialized Flash Content - Hi) (65535)

HealthState

Data type: uint16

Access type: Read-only

The current health of the element. This property is inherited from CIM_ManagedSystemElement and it is always set to 5 (OK).

OK (5)

The element is fully functional and operates within normal operational parameters and without error.

IdentifyingDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_LogicalDevice.OtherIdentifyingInfo")

An array of free-form strings that provide explanations and details behind the entries in the OtherIdentifyingInfo array. This property is inherited from CIM_LogicalDevice and it is always set to NULL.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5")

The date and time when the virtual system was created. This property is inherited from CIM_ManagedSystemElement.

LastErrorCode

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated ("CIM_DeviceErrorData.LastErrorCode")

This property is inherited from CIM_LogicalDevice but it is not used.

LoadPercentage

Data type: uint16

Access type: Read-only

Qualifiers: Units ("Percent"), Gauge, MappingStrings ("MIB.IETF|HOST-RESOURCES-MIB.hrProcessorLoad")

The current percentage of the total processing power being consumed by the virtual system. This property is inherited from CIM_Processor.

LoadPercentageHistory

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed")

The recorded history of percentage of the total processing power being consumed by the virtual system. This is an array containing samples.

LocationIndicator

Data type: uint16

Access type: Read/write

Qualifiers: Experimental, ModelCorrespondence ("CIM_AlarmDevice.AlarmState", "CIM_AlarmDevice.AudioIndicatorIsDisabled", "CIM_AlarmDevice.VisualIndicatorIsDisabled", "CIM_AlarmDevice.MotionIndicatorIsDisabled")

The state of an indicator that is part of a device. This property is inherited from CIM_LogicalDevice and it is always set to 4 (Not Supported).

MaxClockSpeed

Data type: uint32

Access type: Read-only

Qualifiers: Units ("MegaHertz"), MappingStrings ("MIF.DMTF|Processor|017.5")

The maximum clock speed, in megahertz, of the virtual processor. This property is inherited from CIM_Processor.

MaxQuiesceTime

Data type: uint64

Access type: Read-only

Qualifiers: Deprecated ("No value"), Units ("MilliSeconds")

This property is inherited from CIM_LogicalDevice but it is not used.

Name

Data type: string

Access type: Read-only

Qualifiers: MaxLen (1024)

The label by which the object is known. When subclassed, this property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement and it is always set to "GUID".

OperationalStatus

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_ManagedSystemElement.StatusDescriptions")

The current status of the element. This property is inherited from CIM_ManagedSystemElement and it is always set to 2 (OK).

OK (2)

Indicates full functionality without errors.

OtherEnabledState

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EnabledLogicalElement.EnabledState")

A string that describes the enabled or disabled state of the element when the EnabledState property is set to 1 (Other). This property must be set to null when EnabledState is any value other than 1. This property is inherited from CIM_EnabledLogicalElement and it is always set to NULL.

OtherFamilyDescription

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), ModelCorrespondence ("CIM_Processor.Family")

A description of the processor family type. This property is inherited from CIM_Processor and it is always set to NULL.

OtherIdentifyingInfo

Data type: string array

Access type: Read-only

Qualifiers: MaxLen (256), ArrayType ("Indexed"), ModelCorrespondence ("CIM_LogicalDevice.IdentifyingDescriptions")

Any additional data, beyond device ID information, that could be used to identify a logical device. This property is inherited from CIM_LogicalDevice and it is always set to NULL.

PowerManagementCapabilities

Data type: uint16 array

Access type: Read-only

Qualifiers: Deprecated ("CIM_PowerManagementCapabilities.PowerCapabilities")

This property is inherited from CIM_LogicalDevice but it is not used.

PowerManagementSupported

Data type: boolean

Access type: Read-only

Qualifiers: Deprecated ("CIM_PowerManagementCapabilities")

This property is inherited from CIM_LogicalDevice but it is not used.

PowerOnHours

Data type: uint64

Access type: Read-only

Qualifiers: Deprecated ("CIM_PoweredStatisticalData.PowerOnHours"), Units ("Hours"), Counter

This property is inherited from CIM_LogicalDevice but it is not used.

RequestedState

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EnabledLogicalElement.EnabledState")

The last requested or desired state for the element. This property is inherited from CIM_EnabledLogicalElement and it is always set to 5 (Not Applicable).

No Change (5)

No state change has been requested.

Role

Data type: string

Access type: Read-only

A free-form string that describes the role of the processor. For example, "Central Processor" or "Math Processor". This property is inherited from CIM_Processor and it is always set to "Virtual Processor".

Status

Data type: string

Access type: Read-only

Qualifiers: Deprecated ("CIM_ManagedSystemElement.OperationalStatus"), MaxLen (10)

This property is inherited from CIM_ManagedSystemElement but it is not used.

StatusDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_ManagedSystemElement.OperationalStatus")

Strings that describe the various OperationalStatus array values. This property is inherited from CIM_ManagedSystemElement and it is always set to "OK".

StatusInfo

Data type: uint16

Access type: Read-only

Qualifiers: Deprecated ("CIM_EnabledLogicalElement.EnabledState"), MappingStrings ("MIF.DMTF|Operational State|006.4")

This property is inherited from CIM_LogicalDevice but it is not used.

Stepping

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Processor.Family")

The revision level of the processor within the processor family of the underlying physical processor. This property is inherited from CIM_Processor.

SystemCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, Propagated ("CIM_System.CreationClassName"), MaxLen (256)

The creation class name of the scoping system. This property is inherited from CIM_LogicalDevice and it is set to "Msvm_ComputerSystem".

SystemName

Data type: string

Access type: Read-only

Qualifiers: Key, Propagated ("CIM_System.Name"), MaxLen (256)

The name of the scoping system. This value corresponds to the value of the Name property of the Msvm_ComputerSystem class for the scoping virtual system. This property is inherited from CIM_LogicalDevice and it is always set to "GUID".

TimeOfLastStateChange

Data type: datetime

Access type: Read-only

The date or time at which the virtual machine's state was changed. If the state of the element has not changed and this property is populated, then it must be set to a 0 interval value. If a state change was requested, but rejected or not yet processed, the property must not be updated. This property is inherited from CIM_EnabledLogicalElement.

TotalPowerOnHours

Data type: uint64

Access type: Read-only

Qualifiers: Deprecated ("CIM_PoweredStatisticalData.TotalPowerOnHours"), Units ("Hours"), Counter

This property is inherited from CIM_LogicalDevice but it is not used.

UniqueID

Data type: string

Access type: Read-only

A globally unique identifier for the processor. This identifier can only be unique within a processor family. This property is inherited from CIM_Processor and it is always set to NULL.

UpgradeMethod

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Processor|017.7")

The CPU socket information, which includes data on how to upgrade the processor (if upgrades are supported). This property is inherited from CIM_Processor and it is always set to 6 (None).

Remarks

Access to the Msvm_Processor class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

CIM_Processor

CIM_Processor

Processor Classes