aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2019-03-25 11:40:36 +0800
committerJason Wang <jasowang@redhat.com>2019-05-17 17:00:12 +0800
commit23bfaf77fa801ba30bb136de7cec47728eb02f4b (patch)
treec7ef1f748984a222eca2d7418a471bcd4c2d2ebd /net
parentd8276573da58e8ce78dab8c46dd660efd664bcb7 (diff)
vhost_net: don't set backend for the uninitialized virtqueue
We used to set backend unconditionally, this won't work for some guests (e.g windows driver) who may not initialize all virtqueues. For kernel backend, this will fail since it may try to validate the rings during setting backend. Fixing this by simply skipping the backend set when we find desc is not ready. Reviewed-by: Michael S. Tsirkin<mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions