commit | 66454cc2582a0bdb250e3a64c2f92bd16896caad | [log] [tgz] |
---|---|---|
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | Thu Jan 10 14:12:50 2019 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Tue Jan 22 06:55:26 2019 +0000 |
tree | 7eea0ccc976a831050e1f01c41ae9a0eb89ec0a5 | |
parent | 8003ede4c9720fa53f3b0396228f2864e3ad906a [diff] |
virtio/console: Implement reset The virtio-console reset cancels all running jobs. Unfortunately we don't have a good way to prevent the term polling thread from getting in the way, read invalid data during reset and cause a segfault. To prevent this, move all handling of the Rx queue in the threadpool job. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Julien Thierry <julien.thierry@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>