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....@citrix.com> > > Reviewed-by: Jan Beulich <jbeul...@suse.com> Thanks, Roger.