class VirtioVsock

Defined at line 3983 of file fidling/gen/sdk/fidl/fuchsia.virtualization.hardware/fuchsia.virtualization.hardware/hlcpp/fuchsia/virtualization/hardware/cpp/fidl.h

Public Members

static const char[] Name_

Public Methods

void ~VirtioVsock ()
void ConfigureQueue (uint16_t queue, uint16_t size, uint64_t desc, uint64_t avail, uint64_t used, ConfigureQueueCallback callback)

Configure a `queue` for the device. This specifies the `size` and the

guest physical addresses of the queue: `desc`, `avail`, and `used`.

void NotifyQueue (uint16_t queue)

Notify a `queue` for the device. Primarily used for black-box testing.

void Ready (uint32_t negotiated_features, ReadyCallback callback)

Ready a device. This provides the set of `negotiated_features` that the

driver and device have agreed upon.

void Start (::fuchsia::virtualization::hardware::StartInfo start_info, uint32_t guest_cid, ::std::vector< ::fuchsia::virtualization::Listener> listeners, StartCallback callback)

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