diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-07-03 22:25:24 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-07-03 22:29:49 +0300 |
commit | 2eef278b9e6326707410eed23be40e57f6c331b7 (patch) | |
tree | 74362e21b1fb8a9f59958a09d1da343467c0e508 /tcg | |
parent | 83f3c7091968979ed07869dce9e0df62170f33b4 (diff) |
virtio-net: fix tx queue size for !vhost-user
Current code segfaults when no nic peer is specified.
Fix it up - fall back to default queue size.
Fixes: 9b02e1618cf26a ("virtio-net: enable configurable tx queue size")
Cc: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions