public enum ParavirtProvider extends java.lang.Enum<ParavirtProvider>
IMachine.getParavirtProvider()
attribute.
Interface ID: {696453EC-3742-4A05-BEAD-658CCBF2C944}Enum Constant and Description |
---|
Default
A default provider is automatically chosen according to the guest OS type.
|
HyperV
Microsoft Hyper-V.
|
KVM
Linux KVM.
|
Legacy
Used for VMs which didn't used to have any provider settings.
|
Minimal
A minimal set of features to expose to the paravirtualized guest.
|
None
No provider is used.
|
Modifier and Type | Method and Description |
---|---|
static ParavirtProvider |
fromValue(long v) |
static ParavirtProvider |
fromValue(java.lang.String v) |
int |
value() |
static ParavirtProvider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParavirtProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParavirtProvider None
public static final ParavirtProvider Default
public static final ParavirtProvider Legacy
public static final ParavirtProvider Minimal
public static final ParavirtProvider HyperV
public static final ParavirtProvider KVM
public static ParavirtProvider[] values()
for (ParavirtProvider c : ParavirtProvider.values()) System.out.println(c);
public static ParavirtProvider valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static ParavirtProvider fromValue(long v)
public static ParavirtProvider fromValue(java.lang.String v)