]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - qemu-char.h
Always notify consumers of char devices if they're open
[thirdparty/qemu.git] / qemu-char.h
index 3a9427be67111a9942ebf7af7fc0ea8238c70778..e3a07838a4d8c31c900ae8764d1a6cda73390660 100644 (file)
@@ -67,6 +67,7 @@ struct CharDriverState {
     QEMUBH *bh;
     char *label;
     char *filename;
+    int opened;
     QTAILQ_ENTRY(CharDriverState) next;
 };