x86/hvm: change EOI exit bitmap helper parameter
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 12 Aug 2020 12:47:05 +0000 (14:47 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 14 Aug 2020 16:26:01 +0000 (17:26 +0100)
commit74ac7c81788198342d1dd60f95fa4870fa64728e
treef10640d61639035f9ff25803b453b79cd06996ea
parent438c5ffa44e99cceb574c0f9946aacacdedd2952
x86/hvm: change EOI exit bitmap helper parameter

Change the last parameter of the update_eoi_exit_bitmap helper to be a
set/clear boolean instead of a triggering field. This is already
inline with how the function is implemented, and will allow deciding
whether an exit is required by the higher layers that call into
update_eoi_exit_bitmap. Note that the current behavior is not changed
by this patch.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h