Philippe Mathieu-Daudé
5aa628045d
scripts/modules/module_block: Use Python 3 interpreter & add pseudo-main
...
Signed-off-by: Philippe Mathieu-Daudé <[email protected] >
Reviewed-by: John Snow <[email protected] >
Reviewed-by: Kevin Wolf <[email protected] >
Message-Id: <[email protected] >
2020-05-31 13:56:46 +02:00
Paolo Bonzini
423edd9a31
drop "from __future__ import print_function"
...
This is only needed for Python 2, which we do not support anymore.
Cc: Philippe Mathieu-Daudé <[email protected] >
Signed-off-by: Paolo Bonzini <[email protected] >
Reviewed-by: Philippe Mathieu-Daudé <[email protected] >
Acked-by: Alex Bennée <[email protected] >
Acked-by: Markus Armbruster <[email protected] >
Message-Id: <[email protected] >
Signed-off-by: Philippe Mathieu-Daudé <[email protected] >
2020-02-07 15:15:16 +01:00
Markus Armbruster
a8d2532645
Include qemu-common.h exactly where needed
...
No header includes qemu-common.h after this commit, as prescribed by
qemu-common.h's file comment.
Signed-off-by: Markus Armbruster <[email protected] >
Message-Id: <[email protected] >
[Rebased with conflicts resolved automatically, except for
include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
net/tap-bsd.c fixed up]
2019-06-12 13:20:20 +02:00
Fam Zheng
159975f38b
scripts: Allow block module to not define BlockDriver
...
Signed-off-by: Fam Zheng <[email protected] >
Message-id: [email protected]
Reviewed-by: Stefan Hajnoczi <[email protected] >
Signed-off-by: Max Reitz <[email protected] >
2016-10-07 14:14:06 +02:00
Marc Mari
0c0c1fd973
blockdev: Add dynamic generation of module_block.h
...
To simplify the addition of new block modules, add a script that generates
module_block.h automatically from the modules' source code.
This script assumes that the QEMU coding style rules are followed.
Signed-off-by: Marc Marí <[email protected] >
Signed-off-by: Colin Lord <[email protected] >
Reviewed-by: Stefan Hajnoczi <[email protected] >
Message-id: [email protected]
Reviewed-by: Max Reitz <[email protected] >
Signed-off-by: Max Reitz <[email protected] >
2016-09-20 22:10:58 +02:00