qemu-char: Add fe_open tracking

Add tracking of the fe_open state to struct CharDriverState.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Message-id: 1364292483-16564-4-git-send-email-hdegoede@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Hans de Goede 2013-03-26 11:07:55 +01:00 committed by Anthony Liguori
parent fee204fd46
commit c0c4bd2cfa
2 changed files with 9 additions and 0 deletions

View file

@ -75,6 +75,7 @@ struct CharDriverState {
char *label;
char *filename;
int be_open;
int fe_open;
int avail_connections;
QemuOpts *opts;
QTAILQ_ENTRY(CharDriverState) next;