template <>
class WireSyncClientImpl
Defined at line 2774 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::LinuxManager>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_virtualization::LinuxManager::StartAndGetLinuxGuestInfo> StartAndGetLinuxGuestInfo (::fidl::StringView label)
Get Linux guest environment info.
Returns ZX_ERR_UNAVAILABLE if the Linux guest is not available.
Request is heap-allocated. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_virtualization::LinuxManager::WipeData> WipeData ()
Clears the stateful data. This includes any installed containers and any user data
they may contain.
Returns ZX_ERR_BAD_STATE if this is called while the VM is running.
Returns ZX_ERR_IO if there was an IO failure while performing the
operation.
Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus GracefulShutdown ()
Attempts to gracefully shut down a running guest. The caller must ensure that the guest
has actually stopped (such as by waiting on a Guest client PEER_CLOSED signal and checking
the epitaph) before attempting to launch another guest.
On a clean shutdown the Guest client will contain a ZX_OK epitaph, and on an unexpected
shutdown the client will contain a ZX_ERR_INTERNAL epitaph (or no epitaph if there was
a component crash).
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.