commit | 910b63682ea72f34307b8797c4cc81a1f2a0c47f | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Apr 19 17:32:06 2013 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Mon Apr 22 08:52:20 2013 -0500 |
tree | fb7f0de4ea30c659f3248aa4781a1c0b5b29a126 | |
parent | 0aa09897571c55292703b7a099d7ea79baa09950 [diff] |
qemu-char: use consistent idiom for removing sources Always check that the source is active, and zero the tag afterwards. The occurrence in pty_chr_state will trigger with the next patch, the others are just theoretical. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1366385529-10329-2-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>