mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-05 03:46:17 +00:00
In vxworks, virtio-console FE driver only initiate 2 virtqueues, but BE creates 2+ virtqueues for it. So the rest of the virtqueues are not initiated. vq->used->flags cannot be used directly without any condition. Tracked-On: #3203 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>