[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-4.14 4/8] x86/vpt: only try to resume timers belonging to enabled devices
On Thu, Jun 18, 2020 at 04:37:57PM +0200, Jan Beulich wrote: > On 12.06.2020 17:56, Roger Pau Monne wrote: > > Check whether the emulated device is actually enabled before trying to > > resume the associated timers. > > > > Thankfully all those structures are zeroed at initialization, and > > since the devices are not enabled they are never populated, which > > triggers the pt->vcpu check at the beginning of pt_resume forcing an > > exit from the function. > > So really this is a benign transformation then, rather than fixing > anything? If that's correct understanding of mine ... Yes, that's my understanding also. > > While there limit the scope of i and make it unsigned. > > > > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> > > Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Thanks, Roger.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |