CODING_STYLE: Reserve qemu_ prefix for library wrappers
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Convert io handlers to QLIST
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
remove useless cast
values are already pointers, no need to cast them to void *
rename IOCanRWHandler to IOCanReadHandler
It was always only used for reads
bt: remove bt_host_read_poll()
It allways returned true, that is the equivalent of not having thecallback.
Handle deleted IOHandlers in a single buffer
Revert "usb-linux: remove unreachable default in switch statement"
This reverts commit 3c9c706c3b66d838942aba53c0d3fdcdf06c7423.
This breaks build (gcc 4.3.2): CC usb-linux.o cc1: warnings being treated as errors /src/qemu/usb-linux.c: In function 'usb_linux_update_endp_table':...
Fix OpenBSD linker warning
qemu-option.o(.text+0x20f8): In function `qemu_opts_from_qdict_1':/src/qemu/qemu-option.c:813: warning: strcpy() is almost always misused, please use strlcpy()
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Replace assert(0) with abort() or cpu_abort()
When building with -DNDEBUG, assert(0) will not stop executionso it must not be used for abnormal termination.
Use cpu_abort() when in CPU context, abort() otherwise.
Fix manpage errors
Split long unbreakable lines to smaller sections.
Spotted by Debian Lintian tool:http://lintian.debian.org/full/pkg-qemu-devel@lists.alioth.debian.org.html#qemu
View all revisions | View revisions
Also available in: Atom