template <>
class WireSyncClientImpl
Defined at line 8291 of file fidling/gen/sdk/fidl/fuchsia.virtualization.hardware/fuchsia.virtualization.hardware/cpp/fidl/fuchsia.virtualization.hardware/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_hardware::VirtioVsock>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_virtualization_hardware::VirtioVsock::ConfigureQueue> ConfigureQueue (uint16_t queue, uint16_t size, uint64_t desc, uint64_t avail, uint64_t used)
Configure a `queue` for the device. This specifies the `size` and the
guest physical addresses of the queue: `desc`, `avail`, and `used`.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus NotifyQueue (uint16_t queue)
Notify a `queue` for the device. Primarily used for black-box testing.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualization_hardware::VirtioVsock::Ready> Ready (uint32_t negotiated_features)
Ready a device. This provides the set of `negotiated_features` that the
driver and device have agreed upon.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_virtualization_hardware::VirtioVsock::Start> Start (::fuchsia_virtualization_hardware::wire::StartInfo && start_info, uint32_t guest_cid, ::fidl::VectorView< ::fuchsia_virtualization::wire::Listener> listeners)
Start the vsock device, setting the guest_cid to the provided value.
Returns:
- ZX_OK if device startup succeeded
- ZX_ERR_INVALID_ARGS if guest_cid is a reserved value
- Any errors returned from fuchsia.virtualization.HostVsockEndpoint::Listen
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.