]> git.proxmox.com Git - mirror_qemu.git/commit
blockdev: Add dynamic generation of module_block.h
authorMarc Mari <markmb@redhat.com>
Fri, 12 Aug 2016 13:27:02 +0000 (09:27 -0400)
committerMax Reitz <mreitz@redhat.com>
Tue, 20 Sep 2016 20:10:58 +0000 (22:10 +0200)
commit0c0c1fd973013671ea63680fcd9802766c1d04fe
treeff836e0e67de4752d00143a0afed93c27464a3a9
parentf57b4b5fb127b60e1aade2684a8b16bc4f630b29
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Ă­ <markmb@redhat.com>
Signed-off-by: Colin Lord <clord@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1471008424-16465-3-git-send-email-clord@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Makefile
scripts/modules/module_block.py [new file with mode: 0644]