x86/altp2m: add missing break
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 16 Apr 2020 08:55:42 +0000 (10:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 16 Apr 2020 08:55:42 +0000 (10:55 +0200)
commit6b93f3ca85e331e3ad24185668efbde506fb0e18
treef0b41bb586f72ac471b06d31bfff530d5ab87c2a
parent615bfe42c6d183a0e54a0525ef82b58580d01619
x86/altp2m: add missing break

Add a missing break in the HVMOP_altp2m_set_visibility case, or else
code flow will continue into the default case and trigger the assert.

Fixes: 3fd3e9303ec4b1 ('x86/altp2m: hypercall to set altp2m view visibility')
Coverity-ID: 1461759
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
xen/arch/x86/hvm/hvm.c