# Data Object - VirtualHardware(vim.vm.VirtualHardware)

Property of
  VirtualMachineConfigInfo
Extends
  DynamicData
See also
  VirtualDevice
Since
  2.0

## Data Object Description

The VirtualHardware data object type contains the complete configuration of the hardware in a virtual machine.

Properties

Name | Type | Description
--- | --- | ---
autoCoresPerSocket* | xsd:boolean | Cores per socket is automatically determined. Since 8.0.0.1
device* | VirtualDevice[] | The set of virtual devices belonging to the virtual machine. This list is unordered.
memoryMB | xsd:int | Memory size, in MB.
motherboardLayout* | xsd:string | One of motherboardLayout choices. Default is i440bxHostBridge. See motherboardLayout Since 8.0.0.1
numCoresPerSocket* | xsd:int | Number of cores used to distribute virtual CPUs among sockets in this virtual machine. This field should be ignored for powered off VM with autoCoresPerSocket equals TRUE, because the virtual socket size will be assigned during power-on. This field could be unset for releases prior to 7.0 U3, and it implies numCoresPerSocket is 1. In other cases, this field represents the actual virtual socket size seen by the virtual machine. Since vSphere API 5.0
numCPU | xsd:int | Number of virtual CPUs present in this virtual machine.
simultaneousThreads* | xsd:int | Number of SMT (Simultaneous multithreading) threads. If unset, then system defaults are in use. Since 8.0.0.1
virtualICH7MPresent* | xsd:boolean | Does this virtual machine have Virtual Intel I/O Controller Hub 7 Since vSphere API 5.0
virtualSMCPresent* | xsd:boolean | Does this virtual machine have System Management Controller Since vSphere API 5.0
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="VirtualHardware"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="numCPU" type="xsd:int"/> <element name="numCoresPerSocket" type="xsd:int" minOccurs="0"/> <element name="autoCoresPerSocket" type="xsd:boolean" minOccurs="0"/> <element name="memoryMB" type="xsd:int"/> <element name="virtualICH7MPresent" type="xsd:boolean" minOccurs="0"/> <element name="virtualSMCPresent" type="xsd:boolean" minOccurs="0"/> <element name="device" type="pbm:VirtualDevice" minOccurs="0" maxOccurs="unbounded"/> <element name="motherboardLayout" type="xsd:string" minOccurs="0"/> <element name="simultaneousThreads" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>