[Qemu-devel] [PATCH v10 3/8] qemu.py: refactor launch()

2017-11-13 Thread Amador Pahim
This is just an refactor to separate the exception handler from the actual launch procedure, improving the readability and making future maintenances in this piece of code easier. Reviewed-by: Fam Zheng Signed-off-by: Amador Pahim --- scripts/qemu.py | 29

[Qemu-devel] [PATCH v10 8/8] qemu.py: don't launch again before shutdown()

2017-11-13 Thread Amador Pahim
If a VM is launched, files are created and a cleanup is required before a new launch. This cleanup is executed by shutdown(), so shutdown() must be called even if the VM is manually terminated (i.e. using kill). This patch creates a control to make sure launch() will not be executed again if

[Qemu-devel] [PATCH v5 00/29] Remove some of the fprintf(stderr, "*

2017-11-13 Thread Alistair Francis
This is a smaller version of my original series, to hopefully get something merged (although it's getting late for 2.11 now). Continue on improving QEMUs logging/error messages by removing more fprintf()'s. Unfortunatley my Coccinelle skills aren't that great so it's all done in some nasty regex

[Qemu-devel] [PATCH v5 01/29] audio: Replace AUDIO_FUNC with __func__

2017-11-13 Thread Alistair Francis
Apparently we don't use __MSC_VER as a compiler anymore and we always require a C99 compiler (which means we always have __func__) so we don't need a special AUDIO_FUNC macro. We can just replace AUDIO_FUNC with __func__ instead. Checkpatch failures were manually fixed. Signed-off-by: Alistair

[Qemu-devel] [PATCH v5 03/29] Fixes after renaming __FUNCTION__ to __func__

2017-11-13 Thread Alistair Francis
Signed-off-by: Alistair Francis Cc: Eric Blake Reviewed-by: Eric Blake --- V3: - Squash onto single lines - Don't fix indentation of case in omap_prcm_apll_update() hw/arm/omap1.c | 8 +++- hw/block/onenand.c | 2 +-

[Qemu-devel] [PATCH v5 10/29] hw/intc: Replace fprintf(stderr, "*\n" with error_report()

2017-11-13 Thread Alistair Francis
Replace a large number of the fprintf(stderr, "*\n" calls with error_report(). The functions were renamed with these commands and then compiler issues where manually fixed. find ./* -type f -exec sed -i \ 'N;N;N;N;N;N;N;N;N;N;N;N; {s|fprintf(stderr,

<    1   2   3   4