Diff for /qemu/qemu-char.h between versions 1.1.1.7 and 1.1.1.8

version 1.1.1.7, 2018/04/24 18:33:37 version 1.1.1.8, 2018/04/24 18:55:54
Line 57  struct CharDriverState { Line 57  struct CharDriverState {
     void (*chr_update_read_handler)(struct CharDriverState *s);      void (*chr_update_read_handler)(struct CharDriverState *s);
     int (*chr_ioctl)(struct CharDriverState *s, int cmd, void *arg);      int (*chr_ioctl)(struct CharDriverState *s, int cmd, void *arg);
     int (*get_msgfd)(struct CharDriverState *s);      int (*get_msgfd)(struct CharDriverState *s);
       int (*chr_add_client)(struct CharDriverState *chr, int fd);
     IOEventHandler *chr_event;      IOEventHandler *chr_event;
     IOCanReadHandler *chr_can_read;      IOCanReadHandler *chr_can_read;
     IOReadHandler *chr_read;      IOReadHandler *chr_read;
Line 65  struct CharDriverState { Line 66  struct CharDriverState {
     void (*chr_close)(struct CharDriverState *chr);      void (*chr_close)(struct CharDriverState *chr);
     void (*chr_accept_input)(struct CharDriverState *chr);      void (*chr_accept_input)(struct CharDriverState *chr);
     void (*chr_set_echo)(struct CharDriverState *chr, bool echo);      void (*chr_set_echo)(struct CharDriverState *chr, bool echo);
       void (*chr_guest_open)(struct CharDriverState *chr);
       void (*chr_guest_close)(struct CharDriverState *chr);
     void *opaque;      void *opaque;
     QEMUBH *bh;      QEMUBH *bh;
     char *label;      char *label;
     char *filename;      char *filename;
     int opened;      int opened;
       int avail_connections;
     QTAILQ_ENTRY(CharDriverState) next;      QTAILQ_ENTRY(CharDriverState) next;
 };  };
   
Line 78  CharDriverState *qemu_chr_open_opts(Qemu Line 82  CharDriverState *qemu_chr_open_opts(Qemu
                                     void (*init)(struct CharDriverState *s));                                      void (*init)(struct CharDriverState *s));
 CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));  CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));
 void qemu_chr_set_echo(struct CharDriverState *chr, bool echo);  void qemu_chr_set_echo(struct CharDriverState *chr, bool echo);
   void qemu_chr_guest_open(struct CharDriverState *chr);
   void qemu_chr_guest_close(struct CharDriverState *chr);
 void qemu_chr_close(CharDriverState *chr);  void qemu_chr_close(CharDriverState *chr);
 void qemu_chr_printf(CharDriverState *s, const char *fmt, ...)  void qemu_chr_printf(CharDriverState *s, const char *fmt, ...)
     GCC_FMT_ATTR(2, 3);      GCC_FMT_ATTR(2, 3);
Line 94  int qemu_chr_can_read(CharDriverState *s Line 100  int qemu_chr_can_read(CharDriverState *s
 void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len);  void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len);
 int qemu_chr_get_msgfd(CharDriverState *s);  int qemu_chr_get_msgfd(CharDriverState *s);
 void qemu_chr_accept_input(CharDriverState *s);  void qemu_chr_accept_input(CharDriverState *s);
   int qemu_chr_add_client(CharDriverState *s, int fd);
 void qemu_chr_info_print(Monitor *mon, const QObject *ret_data);  void qemu_chr_info_print(Monitor *mon, const QObject *ret_data);
 void qemu_chr_info(Monitor *mon, QObject **ret_data);  void qemu_chr_info(Monitor *mon, QObject **ret_data);
 CharDriverState *qemu_chr_find(const char *name);  CharDriverState *qemu_chr_find(const char *name);

Removed from v.1.1.1.7  
changed lines
  Added in v.1.1.1.8


unix.superglobalmegacorp.com