mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
virtio: virtio 1.0 cs04 spec compliance for reset
[ Upstream commit 05dbcb4307 ]
The spec says: after writing 0 to device_status, the driver MUST wait
for a read of device_status to return 0 before reinitializing the
device.
Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
parent
e649832a3c
commit
0ffbec8de4
1 changed files with 8 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue