template <>

class WireSyncClientImpl

Defined at line 2363 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::VirtioBlock>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_virtualization_hardware::VirtioBlock::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::VirtioBlock::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::VirtioBlock::Start> Start (::fuchsia_virtualization_hardware::wire::StartInfo && start_info, ::fuchsia_virtualization::wire::BlockSpec && spec)

Start the block device.

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