]> www.infradead.org Git - users/dwmw2/linux.git/commit
xen: make multicall debug boot time selectable
authorJuergen Gross <jgross@suse.com>
Wed, 10 Jul 2024 09:27:49 +0000 (11:27 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 11 Jul 2024 14:33:39 +0000 (16:33 +0200)
commit942d917cb92af2277db9e3be0d62345d770d5996
tree04cb15cb7ef9ff8995b2833535b6f9d41be215ff
parentfab451d1582cde6073c271f0520c2348a4f1398e
xen: make multicall debug boot time selectable

Today Xen multicall debugging needs to be enabled via modifying a
define in a source file for getting debug data of multicall errors
encountered by users.

Switch multicall debugging to depend on a boot parameter "xen_mc_debug"
instead, enabling affected users to boot with the new parameter set in
order to get better diagnostics.

With debugging enabled print the following information in case at least
one of the batched calls failed:
- all calls of the batch with operation, result and caller
- all parameters of each call
- all parameters stored in the multicall data for each call

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Message-ID: <20240710092749.13595-1-jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Documentation/admin-guide/kernel-parameters.txt
arch/x86/xen/multicalls.c