Do not ignore error, if open file failed (-serial /dev/tty)
commit02510b24368f76b5e8eb3edbca880d177869f265
authorEvgeniy Dushistov <dushistov@mail.ru>
Thu, 28 Jan 2010 18:44:46 +0000 (28 21:44 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 23 Feb 2010 20:07:57 +0000 (23 14:07 -0600)
tree72ce23ce23bf4f37d3746728f97d44f8399f8d24
parentb57a2297f2a24471d5ddb651578867fb5399b540
Do not ignore error, if open file failed (-serial /dev/tty)

In case, when qemu is executed with option like
-serial /dev/ttyS0, report if there are problems with
opening of devices. At now errors are silently ignoring.

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit afc535acb579a7808d9ff170088c839a29c61dc9)
qemu-char.c