x86/HVM: skip offline vCPU-s when dumping VMCBs/VMCSes
authorJan Beulich <jbeulich@suse.com>
Fri, 3 Dec 2021 10:17:50 +0000 (11:17 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 Dec 2021 10:17:50 +0000 (11:17 +0100)
commit3c42cc803c2163daa199021852224b9ca476e9c5
tree6141503cefb441b0a2a2cc16c4d91c2b79e67ded
parentadb715db698bc8ec3b88c24eb88b21e9da5b6c07
x86/HVM: skip offline vCPU-s when dumping VMCBs/VMCSes

There's not really any register state associated with vCPU-s that
haven't been initialized yet, so avoid spamming the log with largely
useless information while still leaving an indication of the fact.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/svm/vmcb.c
xen/arch/x86/hvm/vmx/vmcs.c