OSDN Git Service

hw/virtio: Add flatview update in vhost_user_cleanup()
authorYuwei Zhang <zhangyuwei.9149@bytedance.com>
Mon, 30 Aug 2021 12:34:33 +0000 (20:34 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Sep 2021 21:34:05 +0000 (17:34 -0400)
commitc6effa9cf59f0191865f2f65d8a7398abff0490f
tree133db9e1b5e4f79f4666500d4ed7458df0c63e15
parentb116d6c319661b59d0461f771f407e47f54a8c80
hw/virtio: Add flatview update in vhost_user_cleanup()

Qemu will crash on vhost backend unexpected exit and re-connect                                                                          │
in some case due to access released memory.

Signed-off-by: Yuwei Zhang <zhangyuwei.9149@bytedance.com>
Message-Id: <20210830123433.45727-1-zhangyuwei.9149@bytedance.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user.c