Re: [Qemu-devel] [PATCH] virtio_error: don't invoke status callbacks

2017-12-18 Thread Ilya Maximets
On 13.12.2017 23:03, Michael S. Tsirkin wrote: > 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. > > Reported-by: Ilya Maximets > Sign

[Qemu-devel] [PATCH] virtio_error: don't invoke status callbacks

2017-12-13 Thread Michael S. Tsirkin
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. Reported-by: Ilya Maximets Signed-off-by: Michael S. Tsirkin --- Ilya this should fix the cr