diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2022-06-30 17:32:21 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-11 04:26:07 -0400 |
commit | 8472019eec2ccff60144d8585367b2856a59416e (patch) | |
tree | ff2df3639ffdc65144bac9daa76ca71345dd651a /.clang-format | |
parent | 9c4df0900f376f28e8e5cca640a10a0085f16b66 (diff) | |
download | linux-8472019eec2ccff60144d8585367b2856a59416e.tar.gz linux-8472019eec2ccff60144d8585367b2856a59416e.tar.bz2 linux-8472019eec2ccff60144d8585367b2856a59416e.zip |
vdpa_sim_blk: call vringh_complete_iotlb() also in the error path
Call vringh_complete_iotlb() even when we encounter a serious error
that prevents us from writing the status in the "in" header
(e.g. the header length is incorrect, etc.).
The guest is misbehaving, so maybe the ring is in a bad state, but
let's avoid making things worse.
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20220630153221.83371-4-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions