qvm_msgblock_oneshot()
Set a maximum message timeout for just the next MsgSend() operation
Synopsis:
#include <qvm/utils.h>void qvm_msgblock_oneshot(const vdev_t *vdp,
unsigned mult)Arguments:
- vdp
- A pointer to a virtual device (vdev), or NULL for all vdevs in this VM.
- mult
- The multiplier of the configured timeout.
Description:
This function sets the maximum message timeout for the next MsgSend() only (i.e., a single operation).
To set the maximum message timeout for a block of multiple MsgSend() operations, call qvm_msgblock_start().
To configure timeouts, use the qvm set option's message-block-timeout and vdev-message-block-timeout variables. For details, see the set section in the "VM Configuration Reference" chapter in the QNX hypervisor User's Guide.
Page updated:
