Package com.io7m.waxmill.machines
Interface WXMFlagsType
- All Known Implementing Classes:
WXMFlags
@Immutable
public interface WXMFlagsType
The configuration flags associated with a virtual machine.
-
Method Summary
Modifier and Type Method Description default booleandisableMPTableGeneration()Disable MP table generation.default booleanexitOnPAUSE()Force the guest virtual CPU to exit when a PAUSE instruction is detected.default booleanforceVirtualIOPCIToUseMSI()Force virtio PCI device emulations to use MSI interrupts instead of MSI-X interrupts.default booleangenerateACPITables()Generate ACPI tables.default booleanguestAPICIsX2APIC()The guest's local APIC is configured in x2APIC mode.default booleanincludeGuestMemoryInCoreFiles()Include guest memory in core files.default booleanrealTimeClockIsUTC()RTC keeps UTC time.default booleanwireGuestMemory()Wire guest memory.default booleanyieldCPUOnHLT()Yield the virtual CPU thread when a HLT instruction is detected.
-
Method Details
-
includeGuestMemoryInCoreFiles
@Default default boolean includeGuestMemoryInCoreFiles()Include guest memory in core files.- Returns:
trueif guest memory should appear in core files.
-
yieldCPUOnHLT
@Default default boolean yieldCPUOnHLT()Yield the virtual CPU thread when a HLT instruction is detected. If this option is not specified, virtual CPUs will use 100% of a host CPU.- Returns:
trueif the virtual CPU should yield on HLT
-
exitOnPAUSE
@Default default boolean exitOnPAUSE()Force the guest virtual CPU to exit when a PAUSE instruction is detected.- Returns:
trueif the virtual CPU should exit on PAUSE
-
generateACPITables
@Default default boolean generateACPITables()Generate ACPI tables. Required for FreeBSD/amd64 guests.- Returns:
trueif ACPI tables should be generated.
-
disableMPTableGeneration
@Default default boolean disableMPTableGeneration()Disable MP table generation.- Returns:
trueif generation should be disabled
-
forceVirtualIOPCIToUseMSI
@Default default boolean forceVirtualIOPCIToUseMSI()Force virtio PCI device emulations to use MSI interrupts instead of MSI-X interrupts.- Returns:
trueif MSI interrupts should be used
-
guestAPICIsX2APIC
@Default default boolean guestAPICIsX2APIC()The guest's local APIC is configured in x2APIC mode.- Returns:
trueif the guest's local APIC is configured in x2APIC mode.
-
wireGuestMemory
@Default default boolean wireGuestMemory()Wire guest memory.- Returns:
trueif the guest's memory should be wired
-
realTimeClockIsUTC
@Default default boolean realTimeClockIsUTC()RTC keeps UTC time.- Returns:
trueif the guest's RTC keeps UTC time.
-