Jianfeng Tan 9a0615af77 virtio: fix restart
Fix the issue that virtio device cannot be started after stopped.

The field, hw->started, should be changed by virtio_dev_start/stop instead
of virtio_dev_close.

Fixes: a85786dc816f ("virtio: fix states handling during initialization")

Reported-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Tested-by: Pavel Fedin <p.fedin@samsung.com>
2016-03-16 18:52:18 +01:00
..
2016-03-16 16:51:12 +01:00
2016-03-16 16:57:39 +01:00
2016-03-16 18:51:44 +01:00
2016-03-16 17:18:11 +01:00
2016-03-16 18:52:18 +01:00
2015-11-03 18:46:52 +01:00
2015-11-23 23:51:14 +01:00
2016-03-16 18:52:18 +01:00
2016-03-04 16:01:15 +01:00
2016-03-04 16:01:15 +01:00