template <>

class WireSyncClientImpl

Defined at line 5589 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_virtualization::GuestManager>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_virtualization::GuestManager::Launch> Launch (::fuchsia_virtualization::wire::GuestConfig guest_config, ::fidl::ServerEnd< ::fuchsia_virtualization::Guest> && controller)

Launch a new guest instance.

Possible errors:

- BAD_CONFIG: Failed to parse the config from the guest package, or other config

problems detected by the guest manager.

- ALREADY_RUNNING: The guest is already running. Stop the guest before launching again.

- START_FAILURE: Failed to initialize the VMM and devices, and start the guest. See

component logs for a more specific failure.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::fuchsia_virtualization::GuestManager::ForceShutdown> ForceShutdown ()

Forcibly shuts down a running guest. Immediately after ForceShutdown returns, Launch can

be used to launch another guest.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_virtualization::GuestManager::Connect> Connect (::fidl::ServerEnd< ::fuchsia_virtualization::Guest> && controller)

Connect to a currently running guest.

Possible errors:

- NOT_RUNNING: Attempted to connect to a guest in a non-running state. Ensure the guest

has launched before attempting to reconnect.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_virtualization::GuestManager::GetInfo> GetInfo ()

Query guest info

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.