org.virtualbox_7_1
Enum VMExecutionEngine

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

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

The main execution engine of a VM. Interface ID: {69485F52-5CD3-40C9-946F-AE7D5C50798B}


Enum Constant Summary
Default
          Use the default/best available option for the host.
HwVirt
          Hardware assisted virtualization through HM.
Interpreter
          CPU emulation using the interpreter.
NativeApi
          Hardware assisted virtualization thru native API (NEM).
NotSet
          Has not yet been set (try again later), for reading the actual used execution engine fromIMachineDebugger.getExecutionEngine().
Recompiler
          CPU emulation using the recompiler.
 
Method Summary
static VMExecutionEngine fromValue(long v)
           
static VMExecutionEngine fromValue(java.lang.String v)
           
 int value()
           
static VMExecutionEngine valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VMExecutionEngine[] 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

NotSet

public static final VMExecutionEngine NotSet
Has not yet been set (try again later), for reading the actual used execution engine fromIMachineDebugger.getExecutionEngine(). This can not be set throughIMachine.getVMExecutionEngine().


Default

public static final VMExecutionEngine Default
Use the default/best available option for the host. This will never be returned byIMachineDebugger.getExecutionEngine().


HwVirt

public static final VMExecutionEngine HwVirt
Hardware assisted virtualization through HM. Only for x86-based hosts.


NativeApi

public static final VMExecutionEngine NativeApi
Hardware assisted virtualization thru native API (NEM).


Interpreter

public static final VMExecutionEngine Interpreter
CPU emulation using the interpreter.


Recompiler

public static final VMExecutionEngine Recompiler
CPU emulation using the recompiler.

Method Detail

values

public static VMExecutionEngine[] 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 (VMExecutionEngine c : VMExecutionEngine.values())
    System.out.println(c);

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

valueOf

public static VMExecutionEngine 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 VMExecutionEngine fromValue(long v)

fromValue

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