Convert an error from a vCPU read or a vCPU write into a status value
#include <qvm/vdev-core.h>
static enum vdev_ref_status guest_cpu_to_vrs(int const errcode)
This function converts an error from a guest_cpu_read() or guest_cpu_write() function call into a vdev_ref_status value.
It is assumed that the returned value is an error.
VRS_BUS_ERROR if errcode is -1; otherwise, VRS_ERRNO and the errcode value.