]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: virtio 1.0 cs04 spec compliance for reset
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 3 Apr 2016 12:23:37 +0000 (15:23 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 7 Apr 2016 12:16:39 +0000 (15:16 +0300)
commit73d4739a8adb6609ebae779d936962592e29aaf1
tree62a07c001c763f524d794ec83d25a5338f1a612c
parent5c33088740443a2e845bee74ea8260b627d006cd
virtio: virtio 1.0 cs04 spec compliance for reset

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>
drivers/virtio/virtio_pci_modern.c