diff options
| author | Marc-André Lureau | 2016-07-26 23:15:27 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-07-29 04:47:17 +0200 |
| commit | 499c557975275dba23fbf8f23880815d019ce663 (patch) | |
| tree | b73d31678f2da3f6b44b8bed56fee5873cc7203d /include/exec/memory-internal.h | |
| parent | vhost: add vhost_net_set_backend() (diff) | |
| download | qemu-499c557975275dba23fbf8f23880815d019ce663.tar.gz qemu-499c557975275dba23fbf8f23880815d019ce663.tar.xz qemu-499c557975275dba23fbf8f23880815d019ce663.zip | |
vhost: do not update last avail idx on get_vring_base() failure
The state.num value will probably be 0 in this case, but that
doesn't make sense to update.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions
