move atexit(term_exit) and O_NONBLOCK to qemu_chr_open_stdio
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Dec 2010 12:42:49 +0000 (13:42 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Feb 2011 22:50:43 +0000 (16:50 -0600)
commit0369364be871f9c4b4429a69ddcd2ba21be34ea3
tree848376039d63e36e8798d7a742855b7c7acc5849
parentc48855e1404e9b5857e07b7839f806fa98b4abdc
move atexit(term_exit) and O_NONBLOCK to qemu_chr_open_stdio

In the next patch, term_init will be changed to enable or disable
echo at will.  Move extraneous stuff out of it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c