slirp: Fix unusual "comments" in unused code
cppcheck detected two rather strange comments which were notcorrectly written as C comments.
They did not cause any harm because they were framed by#ifdef notdef ... #endif, so they were never compiled.
Fix them nevertheless (we could also remove the unused code)....
Makefile: Minor cscope fixups
Create cscope symbols for assembly files in addition to .c/.h files.Create cscope database with full path instead of relative path so cscopecan be used with CSCOPE_DB in any directory.
Signed-off-by: Alexandre Raymond <cerbere@gmail.com>...
vhost build fix for i386
vhost.c uses __sync_fetch_and_and(), which is onlyavailable for -march=i486 and above (seehttps://bugzilla.redhat.com/show_bug.cgi?id=624279).
Signed-off-by: Wolfgang Mauerer <wolfgang.mauerer@siemens.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Let users select their pythons
Add configure check for python, exit if not found. Add switchesfor specifying the path to python, use the path in Makefile.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
simpletrace: suppress a warning from unused variable
Avoid this warning: CC simpletrace.o/src/qemu/simpletrace.c: In function 'writeout_thread':/src/qemu/simpletrace.c:122:12: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]...
Wrap recv to avoid warnings
Avoid warnings like these by wrapping recv(): CC slirp/ip_icmp.o/src/qemu/slirp/ip_icmp.c: In function 'icmp_receive':/src/qemu/slirp/ip_icmp.c:418:5: error: passing argument 2 of 'recv' from incompatible pointer type [-Werror]...
Fix chrdev return value conversion
6e1db57b2ac9025c2443c665a0d9e78748637b26 didn'tconvert brlapi or win32 chrdevs, breaking build for those.
Fix by converting the chrdevs.
Acked-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-ga: remove dependency on gio and gthread
As far as I can tell, there isn't a dependency on gthread. Also, the only useof gio was to enable GSocket to accept a unix domain socket.
Since GSocket isn't available on OpenSuSE 11.1, let's just remove that...
guest-agent: only enable FSFREEZE when it's supported by the kernel
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Open 1.0 development branch.
View all revisions | View revisions
Also available in: Atom