Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-12 Thread Marcelo Tosatti
On Thu, Jan 09, 2014 at 03:08:25PM -0500, Hu Yaohui wrote: Hi Marcelo, Thanks for your replying! I hope you have a good day! I am sorry that it's not that obvious to me after I checked that function. If the remote vcpu is not in the same pcpu as the sender which calls kvm_vpcu_kick. Before

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-12 Thread Hu Yaohui
Thank you Marcelo! I really appreciate your explanation. On Sat, Jan 11, 2014 at 7:27 AM, Marcelo Tosatti mtosa...@redhat.com wrote: On Thu, Jan 09, 2014 at 03:08:25PM -0500, Hu Yaohui wrote: Hi Marcelo, Thanks for your replying! I hope you have a good day! I am sorry that it's not that

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-09 Thread Hu Yaohui
Hi Macelo, I am sorry to bother you again. In your first possibility, kvm_vcpu_kick sends an host-IPI to the remote vcpu, and if that vcpu is in guest mode, a VM-exit will be triggered due to the host-IPI. My question is if the vcpu has accessed the stale tlb entry before the host-IPI arrives,

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-09 Thread Marcelo Tosatti
On Wed, Jan 08, 2014 at 06:35:00PM -0500, Hu Yaohui wrote: Thanks a lot Marcelo! On Wed, Jan 8, 2014 at 6:25 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Wed, Jan 08, 2014 at 06:14:15PM -0500, Hu Yaohui wrote: Hi guys, I think you should be pretty familiar with lapic. I would really

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-09 Thread Hu Yaohui
Thanks a lot Marcelo! On Thu, Jan 9, 2014 at 1:46 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Wed, Jan 08, 2014 at 06:35:00PM -0500, Hu Yaohui wrote: Thanks a lot Marcelo! On Wed, Jan 8, 2014 at 6:25 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Wed, Jan 08, 2014 at 06:14:15PM

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-09 Thread Hu Yaohui
Hi Marcelo, Thanks for your replying! I hope you have a good day! I am sorry that it's not that obvious to me after I checked that function. If the remote vcpu is not in the same pcpu as the sender which calls kvm_vpcu_kick. Before the remote vcpu received the Host-IPI, it could be in guest mode

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-08 Thread Marcelo Tosatti
On Thu, Jan 02, 2014 at 05:14:11PM +0800, Chen Fan wrote: fix the 'vcpi' typos when apic_debug is enabled. Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com --- arch/x86/kvm/lapic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Applied, thanks. -- To unsubscribe from

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-08 Thread Hu Yaohui
Hi guys, I think you should be pretty familiar with lapic. I would really appreciate it if someone could shed some lights on my problem regarding Guest TLB flush IPI. Supposed we get two vcpus 0 and 1. When vcpu#0 wants to invalidate the tlb entry on vcpu#1. An IPI will be generated by lapic on

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-08 Thread Marcelo Tosatti
On Wed, Jan 08, 2014 at 06:14:15PM -0500, Hu Yaohui wrote: Hi guys, I think you should be pretty familiar with lapic. I would really appreciate it if someone could shed some lights on my problem regarding Guest TLB flush IPI. Supposed we get two vcpus 0 and 1. When vcpu#0 wants to invalidate

Re: [PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-08 Thread Hu Yaohui
Thanks a lot Marcelo! On Wed, Jan 8, 2014 at 6:25 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Wed, Jan 08, 2014 at 06:14:15PM -0500, Hu Yaohui wrote: Hi guys, I think you should be pretty familiar with lapic. I would really appreciate it if someone could shed some lights on my problem

[PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-02 Thread Chen Fan
fix the 'vcpi' typos when apic_debug is enabled. Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com --- arch/x86/kvm/lapic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index dec48bf..ce736ec 100644 ---