org.virtualbox_5_1
Enum CPUPropertyType

java.lang.Object
  extended by java.lang.Enum<CPUPropertyType>
      extended by org.virtualbox_5_1.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: {CC6ECDAD-A07C-4E81-9C0E-D767E0678D5A}


Enum Constant Summary
APIC
          This setting determines whether an APIC is part of the virtual CPU.
LongMode
          This setting determines whether VirtualBox will advertise long mode (i.e.
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.
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.

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)