qemu-char: Use qemu_open() to avoid leaking fds to children
commitb181e04777da67acbc7448f87e4ae9f1518e08b2
authorMarkus Armbruster <armbru@redhat.com>
Tue, 7 Feb 2012 14:09:09 +0000 (7 15:09 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 15:06:57 +0000 (24 09:06 -0600)
tree4fee61b7b576c0ff07b67bcc69877e3cd0498c72
parent1f51470d044852592922f91000e741c381582cdc
qemu-char: Use qemu_open() to avoid leaking fds to children

Fixed silently in commit aad04cd0, but that just got reverted.
Re-apply the fixes, plus one missed instance: parport on Linux.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c