input.hx is taken from qemu-0.15.0/qmp-commands.hx with much modification.
