add header file generators
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Feb 2018 19:21:36 +0000 (14:21 -0500)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 2 Feb 2018 17:04:00 +0000 (17:04 +0000)
commit044f21dd0d4f62519aae9f1d53a026407a0b664f
treee609e7e3957e97eb476e5efb80a0b26604ef84da
parent7779876a6b06755e3bb2c94ee3ded50635bcb0fa
add header file generators

keymap-gen can create header files that include the length of the array.  Using
ARRAY_SIZE on the array becomes then possible, and this can be preferrable to
the "x_len" symbols because static analysis cannot necessarily see the value of
"x_len".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/Makefile
tools/keymap-gen