qvm_msgblock_oneshot()

Set a maximum message timeout on the next MsgSend

Synopsis:

#include <qvm/utils.h>
int qvm_msgblock_oneshot(const vdev_t *vdp,
                         unsigned mult)

Arguments:

vdp
A pointer to a virtual device or NULL for all vdevs in this VM.
mult
The multiplier of the configured timeout.

Library:

Provided by qvm; no external library is required.

Description:

This function sets the maximum message time for the next MsgSend (i.e., a single MsgSend) only.

To set the maximum message time for a block of multiple MsgSends, call qvm_msgblock_start().

Returns:

EOK if successful; otherwise an errno value.