[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH V8] x86/altp2m: Hypercall to set altp2m view visibility
On 13.04.2020 08:51, Alexandru Isaila wrote: > @@ -4786,6 +4787,19 @@ static int do_altp2m_op( > break; > } > > + case HVMOP_altp2m_set_visibility: > + { > + unsigned int idx = a.u.set_visibility.altp2m_idx; > + > + if ( a.u.set_visibility.pad ) > + rc = -EINVAL; > + else if ( !altp2m_active(d) ) > + rc = -EOPNOTSUPP; > + else > + rc = p2m_set_altp2m_view_visibility(d, idx, > + a.u.set_visibility.visible); > + } > + > default: > ASSERT_UNREACHABLE(); > } Coverity points out that there's a break statement missing here. Which makes me wonder how you would have successfully tested this on a debug build. Please submit a fix (Coverity ID: 1461759). Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |