Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/vhost: fix crash when no VMDq
[ upstream commit 6f3d83c ] If the VMDq limits is 0, a divide-by-zero error occurs. This patch replaces throwing a floating point exception with a normal error message. Fixes: d19533e ("examples/vhost: copy old vhost example") Signed-off-by: Yuan Wang <yuanx.wang@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
- Loading branch information