}
if (strcmp(cmd, "telephony") == 0) {
- LOG_TRACE("telephony msg >>");
+ LOG_TRACE("telephony msg >>\n");
ret = send_to_vmodem(route_ij, sndbuf, sndlen);
} else {
- LOG_TRACE("evdi msg >> %s", cmd);
+ LOG_TRACE("evdi msg >> %s\n", cmd);
ret = send_to_evdi(route_ij, sndbuf, sndlen);
}
}
if (strcmp(cmd, "telephony") == 0) {
- LOG_TRACE("telephony msg >>");
+ LOG_TRACE("telephony msg >>\n");
ret = send_to_vmodem(route_ij, sndbuf, sndlen);
} else {
- LOG_TRACE("evdi msg >> %s", cmd);
+ LOG_TRACE("evdi msg >> %s\n", cmd);
ret = send_to_evdi(route_ij, sndbuf, sndlen);
}
LOG_TRACE("vmodem send to ecp.\n");
send_injector_ntf(_msg.buf, _msg.use);
+ virtqueue_push(vq, elem, 0);
+ virtio_notify(&vio_vmodem->vdev, vq);
}
- virtqueue_push(vq, elem, sizeof(VirtIOVModem));
- virtio_notify(&vio_vmodem->vdev, vq);
}
static uint64_t virtio_vmodem_get_features(VirtIODevice *vdev,