]> git.proxmox.com Git - mirror_qemu.git/commit
virtio_error: don't invoke status callbacks
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 13 Dec 2017 19:59:54 +0000 (21:59 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 16 Jan 2018 00:18:05 +0000 (18:18 -0600)
commitf79312153902cb486c67a9817c4d827f67cd41ff
tree3568fbe32dff5890b798f80e578a6a263eee35bc
parent0af294d774a8fd7b79646d003124577f1798b585
virtio_error: don't invoke status callbacks

Backends don't need to know what frontend requested a reset,
and notifying then from virtio_error is messy because
virtio_error itself might be invoked from backend.

Let's just set the status directly.

Cc: qemu-stable@nongnu.org
Reported-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 8fc47c876de638353bb635872f2c25bb7f4a3d6e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/virtio/virtio.c