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_tqueue,uint16_tsize,uint64_tdesc,uint64_tavail,uint64_tused,ConfigureQueueCallbackcallback)
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::StartInfostart_info,uint32_tguest_cid,::std::vector< ::fuchsia::virtualization::Listener>listeners,StartCallbackcallback)
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