x86/hvm: Annotate hvm_physdev_op() with cf_check
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 22 Mar 2022 12:07:24 +0000 (13:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 22 Mar 2022 12:07:24 +0000 (13:07 +0100)
commitb68664ab8954fd6aecbc579fc7444aa6e07f5581
treeb586abbf53b2c6e479ef8834d33367011566780e
parent8aa0e9d2d1a4815516607eabe9b2e850f284a2f8
x86/hvm: Annotate hvm_physdev_op() with cf_check

This was missed previously, and would yield a fatal #CP for any HVM domain
which issues a physdevop hypercall.

Fixes: cdbe2b0a1aec ("x86: Enable CET Indirect Branch Tracking")
Reported-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hypercall.c