Skip to content
Commit 245cdd9f authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

vhost/test: stop device before reset



When device stop was moved out of reset, test device wasn't updated to
stop before reset, this resulted in a use after free.  Fix by invoking
stop appropriately.

Fixes: b211616d ("vhost: move -net specific code out")
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent edc5774c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment