"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/chardev/char.h" between
qemu-6.0.0-rc1.tar.xz and qemu-6.0.0-rc2.tar.xz

About: QEMU is a generic machine/processor emulator and virtualizer. Release candidate.

char.h  (qemu-6.0.0-rc1.tar.xz):char.h  (qemu-6.0.0-rc2.tar.xz)
skipping to change at line 68 skipping to change at line 68
struct Chardev { struct Chardev {
Object parent_obj; Object parent_obj;
QemuMutex chr_write_lock; QemuMutex chr_write_lock;
CharBackend *be; CharBackend *be;
char *label; char *label;
char *filename; char *filename;
int logfd; int logfd;
int be_open; int be_open;
/* used to coordinate the chardev-change special-case: */
bool handover_yank_instance;
GSource *gsource; GSource *gsource;
GMainContext *gcontext; GMainContext *gcontext;
DECLARE_BITMAP(features, QEMU_CHAR_FEATURE_LAST); DECLARE_BITMAP(features, QEMU_CHAR_FEATURE_LAST);
}; };
/** /**
* qemu_chr_new_from_opts: * qemu_chr_new_from_opts:
* @opts: see qemu-config.c for a list of valid options * @opts: see qemu-config.c for a list of valid options
* @context: the #GMainContext to be used at initialization time * @context: the #GMainContext to be used at initialization time
* *
skipping to change at line 254 skipping to change at line 256
#define CHARDEV_IS_RINGBUF(chr) \ #define CHARDEV_IS_RINGBUF(chr) \
object_dynamic_cast(OBJECT(chr), TYPE_CHARDEV_RINGBUF) object_dynamic_cast(OBJECT(chr), TYPE_CHARDEV_RINGBUF)
#define CHARDEV_IS_PTY(chr) \ #define CHARDEV_IS_PTY(chr) \
object_dynamic_cast(OBJECT(chr), TYPE_CHARDEV_PTY) object_dynamic_cast(OBJECT(chr), TYPE_CHARDEV_PTY)
struct ChardevClass { struct ChardevClass {
ObjectClass parent_class; ObjectClass parent_class;
bool internal; /* TODO: eventually use TYPE_USER_CREATABLE */ bool internal; /* TODO: eventually use TYPE_USER_CREATABLE */
bool supports_yank;
void (*parse)(QemuOpts *opts, ChardevBackend *backend, Error **errp); void (*parse)(QemuOpts *opts, ChardevBackend *backend, Error **errp);
void (*open)(Chardev *chr, ChardevBackend *backend, void (*open)(Chardev *chr, ChardevBackend *backend,
bool *be_opened, Error **errp); bool *be_opened, Error **errp);
int (*chr_write)(Chardev *s, const uint8_t *buf, int len); int (*chr_write)(Chardev *s, const uint8_t *buf, int len);
int (*chr_sync_read)(Chardev *s, const uint8_t *buf, int len); int (*chr_sync_read)(Chardev *s, const uint8_t *buf, int len);
GSource *(*chr_add_watch)(Chardev *s, GIOCondition cond); GSource *(*chr_add_watch)(Chardev *s, GIOCondition cond);
void (*chr_update_read_handler)(Chardev *s); void (*chr_update_read_handler)(Chardev *s);
int (*chr_ioctl)(Chardev *s, int cmd, void *arg); int (*chr_ioctl)(Chardev *s, int cmd, void *arg);
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)