Re: [PATCH] Added call parameter to track whether invocation originated with guest or elsewhere

2012-10-26 Thread Marcelo Tosatti
On Tue, Oct 23, 2012 at 07:56:54PM +, Auld, Will wrote: Having looked closer at the tacked of changing out the index and data fields in some function calls for a struct parameter with these and a originator field (host or guest) it is less attractive than I thought it would be. The only

RE: [PATCH] Added call parameter to track whether invocation originated with guest or elsewhere

2012-10-23 Thread Auld, Will
Having looked closer at the tacked of changing out the index and data fields in some function calls for a struct parameter with these and a originator field (host or guest) it is less attractive than I thought it would be. The only place where we need to know the initiator is in kvm_write_tsc()

Re: [PATCH] Added call parameter to track whether invocation originated with guest or elsewhere

2012-10-17 Thread Avi Kivity
On 10/17/2012 04:10 AM, Will Auld wrote: Signed-off-by: Will Auld will.a...@intel.com --- Resending to full list Marcelo, This patch is what I believe you ask for as foundational for later patches to address IA32_TSC_ADJUST. Please write a changelog to reflect the motivation. All

Re: [PATCH] Added call parameter to track whether invocation originated with guest or elsewhere

2012-10-17 Thread Marcelo Tosatti
On Wed, Oct 17, 2012 at 12:35:33PM +0200, Avi Kivity wrote: On 10/17/2012 04:10 AM, Will Auld wrote: Signed-off-by: Will Auld will.a...@intel.com --- Resending to full list Marcelo, This patch is what I believe you ask for as foundational for later patches to address

Re: [PATCH] Added call parameter to track whether invocation originated with guest or elsewhere

2012-10-17 Thread Avi Kivity
On 10/17/2012 04:09 PM, Marcelo Tosatti wrote: On Wed, Oct 17, 2012 at 12:35:33PM +0200, Avi Kivity wrote: On 10/17/2012 04:10 AM, Will Auld wrote: Signed-off-by: Will Auld will.a...@intel.com --- Resending to full list Marcelo, This patch is what I believe you ask for as

RE: [PATCH] Added call parameter to track whether invocation originated with guest or elsewhere

2012-10-17 Thread Auld, Will
OK, agreed it is not pretty. Thanks, Will -Original Message- From: Marcelo Tosatti [mailto:mtosa...@redhat.com] Sent: Wednesday, October 17, 2012 7:09 AM To: Avi Kivity Cc: Auld, Will; Will Auld; kvm@vger.kernel.org; Zhang, Xiantao; Liu, Jinsong Subject: Re: [PATCH] Added call