aboutsummaryrefslogtreecommitdiff
path: root/include/char
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-03-26 11:07:55 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-27 10:26:49 -0500
commitc0c4bd2cfae0fb83696000f1bfc355f22e2b41cb (patch)
treeddd7d1991f2a85190b5ac5f28799fae89945e460 /include/char
parentfee204fd46016c168ca4d404d04e2c06b8b34770 (diff)
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>
Diffstat (limited to 'include/char')
-rw-r--r--include/char/char.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/char/char.h b/include/char/char.h
index e9d2c108a8..dbb1b89f8c 100644
--- a/include/char/char.h
+++ b/include/char/char.h
@@ -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;