run_qemu.sh: Add format parameter to hex()

Add second (optional) parameter to hex() to control the format of its
output, which follows the typical printf-like formats. If not passed,
the function defaults to its previous behaviour by converting the input
to hexadecimal and prepending the '0x' prefix.

Change-Id: I24ab6ea2f002c67966e2cae43a6c00f82c38c2dc
1 file changed
tree: fd70caa3257c9a2340d63a77c8f00875e93b6fdf
  1. aarch64/
  2. crosvm/
  3. cuttlefish/
  4. kvm-unit-tests/
  5. common.inc
  6. Makefile