cleanup useless return sentence
This patch cleans up return sentences in the end of void functions.
Reported-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Amos Kong <akong@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
qemu-sockets: Fix compiler warning (regression for MinGW)
setsockopt needs a type cast for MinGW. That type cast is missing ina recent commit which results in a compiler warning.
Like for other socket related functions which have the same problem,we add a 'qemu_setsockopt' macro which provides that type cast where...
vnc: Fix spelling (hellmen -> hellman) in comment
The algorithm was named after Martin E. Hellman.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
slirp: Fix spelling in comment (enought -> enough, insure -> ensure)
tcg/arm: Use tcg_out_mov_reg rather than inline equivalent code
Use the recently introduced tcg_out_mov_reg() function rather thanthe equivalent inline code.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>...
cpu: Add missing 'static' attribute to qemu_global_mutex
Contrary to its name, 'qemu_global_mutex' is only used locallyin cpus.c.
configure: Support empty target list (--target-list=)
Specifying an empty target list with --target-list= is shorterthan specifying --disable-user --disable-system.
Both variants should give the same result: no targets at all.
This modification implements that feature....
hw: Fix return value check for bdrv_read, bdrv_write
Those functions return -errno in case of an error.The old code would typically only detect EPERM (1) errors.
Merge remote-tracking branch 'sstabellini/xen-2012-10-03' into staging
Merge remote-tracking branch 'kwolf/for-anthony' into staging
View all revisions | View revisions
Also available in: Atom