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

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

On 13 Feb 2006, at 15:32, Dong, Eddie wrote:

You should request_clear_vmcs() from within sync_vcpu_execstate().
That'll need a new 'sync' VMX hook function. As well as fixing save,
it will also mean you no longer need to VMCLEAR in
vmx_relinquish_resources() as it will be guaranteed to already be
Yes, my prefer too. thanks!

You'll also need to retrigger the 'do_relaunch' path in arch_vmx_do_resume after a sync. Could do that by setting launch_cpu to -1 after sync'ing.

That'll take you down the else path in arch_vmx_do_resume, and all you need to do is have vmx_request_clear_vmcs() detect and ignore launch_cpu==-1.

 -- Keir

Xen-devel mailing list



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