Namespaces

Enumerations

enum class GuestError : uint32_t
Name Value Comments
kInternalError 1u

Catch all VMM error.

kDeviceNotPresent 2u

A device endpoint was requested via the guest client API, but the device isn't enabled.

kBadConfig 3u

The config failed VMM validation for reasons such as a missing required field.

kGuestInitializationFailure 4u

The VMM failed to initialize the guest object, usually due to capability routing issues
or memory layout problems.

kDeviceInitializationFailure 5u

The VMM failed to initialize a device.

kDeviceStartFailure 6u

The VMM failed to start a device, usually because the device component returned a failure.

kDeviceMemoryOverlap 7u

Two or more devices have attempted to register overlapping memory ranges.

kFailedServiceConnect 8u

Failed to connect to a required service. Check the routing in the manifest.

kDuplicatePublicServices 9u

Failed to add a public service.

kKernelLoadFailure 10u

General error when loading the guest kernel.

kVcpuStartFailure 11u

Error when starting a VCPU.

kVcpuRuntimeFailure 12u

A VCPU encountered a fatal error while running.

kNotCreated 13u

The VMM was asked to run before it was created.

kAlreadyRunning 14u

A VMM is already running. The VMM must be stopped and a new VMM must be created before it
can be run again.

kControllerForcedHalt 15u

A running VMM was forced to stop by the VMM controller.

Defined at line 19 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/common_types.h

enum class KernelType : uint32_t
Name Value
kZircon 0u
kLinux 1u

Type of kernel used by a guest.

Defined at line 86 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/common_types.h

enum class BlockMode : uint32_t
Name Value Comments
kReadWrite 0u

Reads and writes are allowed.

kReadOnly 1u

Only reads are allowed.

kVolatileWrite 2u

Writes are allowed, but are stored in memory, not to disk.

Defined at line 109 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/common_types.h

enum class GuestManagerError : uint32_t
Name Value Comments
kBadConfig 1u

The guest manager failed to parse the configuration from the guest package, or it was
otherwise invalid.

kAlreadyRunning 2u

The guest is already running. Stop the guest before attempting to launch again.

kNotRunning 3u

Attempted to connect to a non-running guest.

kStartFailure 4u

Failed to start the guest. See VMM component logs for a more detailed reason.

kNoStorage 5u

The guest required allocating some persistant storage but was unable to
do so.

Defined at line 137 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/common_types.h

enum class GuestStatus : uint32_t
Name Value Comments
kNotStarted 1u

Initial state when the guest manager is created but before the guest has ever been run.

kStarting 2u

A client has instructed the guest manager to begin launching the guest.

kRunning 3u

The guest's dispatch loops are running. This is the expected steady state.

kStopping 4u

A client has instructed the guest manager to begin stopping the guest. If a non-zero
has been provided, the guest manager may attempt to gracefully shutdown the guest.

kStopped 5u

The guest is no longer running. A stop reason may be present if the guest stopped due to
an error.

kVmmUnexpectedTermination 6u

The VMM component terminated unexpectedly. Attempting to launch the guest again will
restart the component.

Defined at line 173 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/common_types.h

enum class ContainerStatus : uint32_t
Name Value
kTransient 1u
kLaunchingGuest 2u
kStartingVm 3u
kDownloading 4u
kExtracting 5u
kStarting 6u
kReady 7u
kFailed 8u

The status of the Linux container.

Defined at line 214 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/common_types.h

Records