virtio: console: Remove cached data on port close
Remove any data that we might have in a port's inbuf when closing a port or when any data is received when a port is closed. Signed-off-by: NAmit Shah <amit.shah@redhat.com> Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
Showing
想要评论请 注册 或 登录