mirror of https://gitee.com/openkylin/qemu.git
2c8a59422c
qemu_chr_fe_add_watch() can return negative errors, therefore it must not have an unsigned return type. For consistency with other qemu_chr_fe_* functions, this uses a standard C int instead of glib types. In situations where qemu_chr_fe_add_watch() is falsely assumed to have succeeded, the serial ports would go into a state where it never becomes ready for transmitting more data; this is fixed by this patch. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> |
||
---|---|---|
.. | ||
block | ||
bt | ||
char | ||
disas | ||
exec | ||
fpu | ||
migration | ||
monitor | ||
net | ||
qapi | ||
qemu | ||
qom | ||
sysemu | ||
tpm | ||
ui | ||
config.h | ||
elf.h | ||
libfdt_env.h | ||
qemu-common.h | ||
trace.h |