Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RFC: virtio: complete the virtio device state machine
Complete the virtio device state machine by: 1) Handle writing FAILED flag into "driver status" control field. 2) Handle writing 0 into "driver status" control field to reset the device. If the the backend driver supports reset operation, the device will be reset. Otherwise the device will be put into FAILED state. With these changes, the virtio mmio transport layer implements a full state machine according to Virtio Spec. The backend driver is still optional to support reset operation. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
- Loading branch information
Showing
1 changed file
with
116 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters