org.virtualbox_6_0
Enum CPUPropertyType

java.lang.Object
  extended by java.lang.Enum<CPUPropertyType>
      extended by org.virtualbox_6_0.CPUPropertyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CPUPropertyType>

public enum CPUPropertyType
extends java.lang.Enum<CPUPropertyType>

Virtual CPU property type. This enumeration represents possible values of the IMachine get- and setCPUProperty methods. Interface ID: {3FCFE589-CA66-468F-E313-656F9D0B2EB6}


Enum Constant Summary
APIC
          This setting determines whether an APIC is part of the virtual CPU.
HWVirt
          Enabled the hardware virtualization (AMD-V/VT-x) feature on the guest CPU.
IBPBOnVMEntry
          If set, force an indirect branch prediction barrier on VM entry if the host CPU supports it.
IBPBOnVMExit
          If set, force an indirect branch prediction barrier on VM exits if the host CPU supports it.
L1DFlushOnEMTScheduling
          If set and the host is affected by CVE-2018-3646, flushes the level 1 data cache when the EMT is scheduled to do ring-0 guest execution.
L1DFlushOnVMEntry
          If set and the host is affected by CVE-2018-3646, flushes the level 1 data on every VM entry.
LongMode
          This setting determines whether VirtualBox will advertise long mode (i.e.
MDSClearOnEMTScheduling
          If set and the host is affected by CVE-2018-12126, CVE-2018-12127, or CVE-2018-12130, clears the relevant MDS buffers when the EMT is scheduled to do ring-0 guest execution.
MDSClearOnVMEntry
          If set and the host is affected by CVE-2018-12126, CVE-2018-12127, or CVE-2018-12130, clears the relevant MDS buffers on every VM entry.
Null
          Null value (never used by the API).
PAE
          This setting determines whether VirtualBox will expose the Physical Address Extension (PAE) feature of the host CPU to the guest.
SpecCtrl
          If set, the speculation control CPUID bits and MSRs, when available on the host, are exposed to the guest.
SpecCtrlByHost
          If set, the speculation controls are managed by the host.
TripleFaultReset
          This setting determines whether a triple fault within a guest will trigger an internal error condition and stop the VM (default) or reset the virtual CPU/VM and continue execution.
X2APIC
          This setting determines whether an x2APIC is part of the virtual CPU.
 
Method Summary
static CPUPropertyType fromValue(long v)
           
static CPUPropertyType fromValue(java.lang.String v)
           
 int value()
           
static CPUPropertyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CPUPropertyType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Null

public static final CPUPropertyType Null
Null value (never used by the API).


PAE

public static final CPUPropertyType PAE
This setting determines whether VirtualBox will expose the Physical Address Extension (PAE) feature of the host CPU to the guest. Note that in case PAE is not available, it will not be reported.


LongMode

public static final CPUPropertyType LongMode
This setting determines whether VirtualBox will advertise long mode (i.e. 64-bit guest support) and let the guest enter it.


TripleFaultReset

public static final CPUPropertyType TripleFaultReset
This setting determines whether a triple fault within a guest will trigger an internal error condition and stop the VM (default) or reset the virtual CPU/VM and continue execution.


APIC

public static final CPUPropertyType APIC
This setting determines whether an APIC is part of the virtual CPU. This feature can only be turned off when the X2APIC feature is off.


X2APIC

public static final CPUPropertyType X2APIC
This setting determines whether an x2APIC is part of the virtual CPU. Since this feature implies that the APIC feature is present, it automatically enables the APIC feature when set.


IBPBOnVMExit

public static final CPUPropertyType IBPBOnVMExit
If set, force an indirect branch prediction barrier on VM exits if the host CPU supports it. This setting will significantly slow down workloads causing many VM exits, so it is only recommended for situation where there is a real need to be paranoid.


IBPBOnVMEntry

public static final CPUPropertyType IBPBOnVMEntry
If set, force an indirect branch prediction barrier on VM entry if the host CPU supports it. This setting will significantly slow down workloads causing many VM exits, so it is only recommended for situation where there is a real need to be paranoid.


HWVirt

public static final CPUPropertyType HWVirt
Enabled the hardware virtualization (AMD-V/VT-x) feature on the guest CPU. This requires hardware virtualization on the host CPU.


SpecCtrl

public static final CPUPropertyType SpecCtrl
If set, the speculation control CPUID bits and MSRs, when available on the host, are exposed to the guest. Depending on the host CPU and operating system, this may significantly slow down workloads causing many VM exits.


SpecCtrlByHost

public static final CPUPropertyType SpecCtrlByHost
If set, the speculation controls are managed by the host. This is intended for guests which do not set the speculation controls themselves. Note! This has not yet been implemented beyond leaving everything to the host OS.


L1DFlushOnEMTScheduling

public static final CPUPropertyType L1DFlushOnEMTScheduling
If set and the host is affected by CVE-2018-3646, flushes the level 1 data cache when the EMT is scheduled to do ring-0 guest execution. There could be a small performance penalty for certain typs of workloads. For security reasons this setting will be enabled by default.


L1DFlushOnVMEntry

public static final CPUPropertyType L1DFlushOnVMEntry
If set and the host is affected by CVE-2018-3646, flushes the level 1 data on every VM entry. This setting may significantly slow down workloads causing many VM exits, so it is only recommended for situation where there is a real need to be paranoid.


MDSClearOnEMTScheduling

public static final CPUPropertyType MDSClearOnEMTScheduling
If set and the host is affected by CVE-2018-12126, CVE-2018-12127, or CVE-2018-12130, clears the relevant MDS buffers when the EMT is scheduled to do ring-0 guest execution. There could be a small performance penalty for certain typs of workloads. For security reasons this setting will be enabled by default.


MDSClearOnVMEntry

public static final CPUPropertyType MDSClearOnVMEntry
If set and the host is affected by CVE-2018-12126, CVE-2018-12127, or CVE-2018-12130, clears the relevant MDS buffers on every VM entry. This setting may slow down workloads causing many VM exits, so it is only recommended for situation where there is a real need to be paranoid.

Method Detail

values

public static CPUPropertyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CPUPropertyType c : CPUPropertyType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CPUPropertyType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static CPUPropertyType fromValue(long v)

fromValue

public static CPUPropertyType fromValue(java.lang.String v)