x86/vpic: don't trigger unmask event until end of init
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 20 Apr 2021 09:35:29 +0000 (11:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Apr 2021 09:35:29 +0000 (11:35 +0200)
commit192f7479f21ef63dad8d8acbbda93cce0971fe66
treef7a92fd6a0fbc93d0820eb6257fcfba5f2dcd0c3
parent1ca901c527d21c083ceb706839db2cdac102926c
x86/vpic: don't trigger unmask event until end of init

Wait until the end of the init sequence to trigger the unmask event.
Note that it will be unconditionally triggered, but that's harmless if
not unmask actually happened.

While there change the variable type to bool.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vpic.c