x86/vLAPIC: vlapic_init() runs only once for a vCPU
authorJan Beulich <jbeulich@suse.com>
Wed, 14 Oct 2020 12:05:10 +0000 (14:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Oct 2020 12:05:10 +0000 (14:05 +0200)
commit875248527906e6e98812d3ff844bcccbdd594768
treed5b0a8bdf89cd8f20918cb0194a2bf4c3ab46ed4
parent6a34e67c118408ebdd62bfa7be76598ca040f170
x86/vLAPIC: vlapic_init() runs only once for a vCPU

Hence there's no need to guard allocation / mapping by checks whether
the same action has been done before. I assume this was a transient
change which should have been undone before 509529e99148 ("x86 hvm: Xen
interface and implementation for virtual S3") got committed.

While touching this code, drop the pretty useless dprintk()-s.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vlapic.c