[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V7 2/4] x86/altp2m: Add hypercall to set a range of sve bits
On 13.01.2020 11:32, Alexandru Stefan ISAILA wrote: > On 10.01.2020 18:20, Jan Beulich wrote: >> On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: >>> + if ( !(rc = p2m_set_suppress_ve_multi(d, &sve)) && sve.first_error ) >>> + rc = sve.first_error; >> >> Why the right side of the && ? > > This is intended to have p2m_set_suppress_ve() call > p2m_set_suppress_ve_multi(). So here first I call the _multi version and > the check if there was any error from the set/get (that is what > p2m_set_suppress_ve did before). To put my original question differently: from a functionality pov, how would if ( !(rc = p2m_set_suppress_ve_multi(d, &sve)) ) rc = sve.first_error; be different from your variant (as long as the field indeed starts out as zero)? > I don't know why git made the patch so ugly. I have no idea what ugliness you refer to here. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |