]> git.proxmox.com Git - mirror_qemu.git/commit
dump: Introduce dump_is_64bit() helper function
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 30 Mar 2022 12:36:00 +0000 (12:36 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 22 Apr 2022 09:36:04 +0000 (13:36 +0400)
commit05bbaa5040ccb3419e8b93af8040485430e2db42
treef6b36eeded988d9134a0731b97a18230a8d8b70c
parente71d353360bb09a8e784e35d78370c691f6ea185
dump: Introduce dump_is_64bit() helper function

Checking d_class in dump_info leads to lengthy conditionals so let's
shorten things a bit by introducing a helper function.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220330123603.107120-7-frankja@linux.ibm.com>
dump/dump.c