]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86/viridian: Clarify some viridian logging strings
authorAlejandro Vallejo <alejandro.vallejo@cloud.com>
Tue, 30 Jul 2024 09:51:23 +0000 (11:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 30 Jul 2024 09:51:23 +0000 (11:51 +0200)
commitba709d514aac1484f8a0825d3907dda11cf569bd
treee8b12256832c660d68151daebb6150247c34cbda
parent8b5016e28737f140926619b14b8ca291dc4c5e62
x86/viridian: Clarify some viridian logging strings

It's sadically misleading to show an error without letters and expect
the dmesg reader to understand it's in hex. The patch adds a 0x prefix
to all hex numbers that don't already have it.

On the one instance in which a boolean is printed as an integer, print
it as a decimal integer instead so it's 0/1 in the common case and not
misleading if it's ever not just that due to a bug.

While at it, rename VIRIDIAN CRASH to VIRIDIAN GUEST_CRASH. Every member
of a support team that looks at the message systematically believes
"viridian" crashed, which is absolutely not what goes on. It's the guest
asking the hypervisor for a sudden shutdown because it crashed, and
stating why.

Signed-off-by: Alejandro Vallejo <alejandro.vallejo@cloud.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/arch/x86/hvm/viridian/synic.c
xen/arch/x86/hvm/viridian/viridian.c