[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v10 2/3] x86/mem_sharing: reset a fork
On Wed, Feb 26, 2020 at 08:28:31AM -0700, Tamas K Lengyel wrote: > > You also need to reset the contents of the special pages, the > > vcpu_info pages and the shared_info page in order to match the state > > the VM was in when forking. > > Ack. > > > > > PV timers should also be reset to parent's state AFAICT, or else you > > will get spurious timer interrupts. > > Could you point me to the right direction here for where the timers > are located in the codebase? The code paths start at VCPUOP_set_periodic_timer, VCPUOP_stop_periodic_timer, VCPUOP_set_singleshot_timer and VCPUOP_stop_singleshot_timer. AFAICT it's mostly a matter of copying the state and staring the timer if it was already active on the parent. Thanks, Roger. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |