[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Pin vcpu for VMX domain

On 9 Feb 2006, at 08:46, Jiang, Yunhong wrote:

        Attached is updated patch. It use migrate_timer() function and
do __vmpclear on arcj_vmx_do_resume.
        There is still one corner case. Currently the PIT timer is
initialized on pit_hook. So when migrate the timer, it maybe possible
that the pit timer is still not initialized. However, this situation may
happen also on vmx_relinquish_resources. So we plat to provide a patch
to init the pit timer on hvm_setup_platform, which is called from

Even vmx_do_launch may be too late, for vmx_relinquish_resources. Consider a VMX domain that is destroyed without ever running -- it will never call vmx_do_launch.

However, actually you will be okay because the timer structures are initialised to zeroes during domain creation. That is sufficient for stop_timer/kill_timer/migrate_timer to work properly, so long as they *never* execute concurrently with init_timer.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.