summaryrefslogtreecommitdiff
path: root/qemu-char.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-char.h')
-rw-r--r--qemu-char.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-char.h b/qemu-char.h
index 56d9954c52..fb96eef3de 100644
--- a/qemu-char.h
+++ b/qemu-char.h
@@ -70,6 +70,7 @@ struct CharDriverState {
char *label;
char *filename;
int opened;
+ int assigned; /* chardev assigned to a device */
QTAILQ_ENTRY(CharDriverState) next;
};