vdev_register_for_system_pulse()

Add a virtual device factory to the list of available devices

Synopsis:

#include <qvm/vdev-core.h>
int vdev_register_for_system_pulse(vdev_t *vdp,
                                   int8_t code)

Arguments:

vdp
The virtual device to register.
code
The system pulse code. Currently, only _PULSE_CODE_COIDDEATH is supported.

Library:

Provided by qvm; no external library is required.

Returns:

EOK if successful; otherwise errno.