Write to the device in the hypervisor host
#include <qvm/cdev.h>
int cdev_write(struct cdev_state *cds, const uint8_t *data, unsigned len)
Use this function to write data to a device in the hyeprvisor host.
If successful, the number of bytes written; otherwise a negative errno value.