RE: [PATCH v7 4/7] KVM: Call common update function when ioapic entry changed.

2013-04-07 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-07: > On Sun, Apr 07, 2013 at 02:00:04PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-04-07: >>> On Mon, Apr 01, 2013 at 11:32:32AM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> Both

RE: [PATCH v7 3/7] KVM: VMX: Check the posted interrupt capability

2013-04-07 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-07: > On Mon, Apr 01, 2013 at 11:32:31AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Detect the posted interrupt feature. If it exists, then set it in >> vmcs_config. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/include/asm/vmx.h |4 ++ arch/x86/k

RE: [PATCH v7 4/7] KVM: Call common update function when ioapic entry changed.

2013-04-07 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-07: > On Mon, Apr 01, 2013 at 11:32:32AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Both TMR and EOI exit bitmap need to be updated when ioapic changed >> or vcpu's id/ldr/dfr changed. So use common function instead eoi exit >> bitmap specific function. >> >

RE: [PATCH v7 4/7] KVM: Add reset/restore rtc_status support

2013-04-07 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-07: > On Sun, Apr 07, 2013 at 01:16:51PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-04-07: >>> On Sun, Apr 07, 2013 at 01:05:02PM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-04-07: >>>>> On

RE: [PATCH v7 4/7] KVM: Add reset/restore rtc_status support

2013-04-07 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-07: > On Sun, Apr 07, 2013 at 01:05:02PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-04-07: >>> On Sun, Apr 07, 2013 at 12:39:32PM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-04-07: >>>>> On

RE: [PATCH v7 4/7] KVM: Add reset/restore rtc_status support

2013-04-07 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-07: > On Sun, Apr 07, 2013 at 12:39:32PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-04-07: >>> On Sun, Apr 07, 2013 at 02:30:15AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-04-04: >>>>> O

RE: [PATCH v7 4/7] KVM: Add reset/restore rtc_status support

2013-04-07 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-07: > On Sun, Apr 07, 2013 at 02:30:15AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-04-04: >>> On Mon, Apr 01, 2013 at 08:40:13AM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> Signed-o

RE: [PATCH v7 4/7] KVM: Add reset/restore rtc_status support

2013-04-06 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-04: > On Mon, Apr 01, 2013 at 08:40:13AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/lapic.c |9 + arch/x86/kvm/lapic.h |2 ++ >> virt/kvm/ioapic.c| 43 >>

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-04-02 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-04-02: > On Fri, Mar 29, 2013 at 03:25:16AM +0000, Zhang, Yang Z wrote: >> Paolo Bonzini wrote on 2013-03-26: >>> Il 22/03/2013 06:24, Yang Zhang ha scritto: >>>> +static void rtc_irq_ack_eoi(struct kvm_vcpu *vcpu, >>>> +

RE: [PATCH] KVM: Call kvm_apic_match_dest() to check destination vcpu

2013-03-31 Thread Zhang, Yang Z
Zhang, Yang Z wrote on 2013-03-21: > From: Yang Zhang > > For a given vcpu, kvm_apic_match_dest() will tell you whether > the vcpu in the destination list quickly. Drop kvm_calculate_eoi_exitmap() > and use kvm_apic_match_dest() instead. > > Signed-off-by: Yang Zhang

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-03-29 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2013-03-29: > Il 29/03/2013 04:25, Zhang, Yang Z ha scritto: >> Paolo Bonzini wrote on 2013-03-26: >>> Il 22/03/2013 06:24, Yang Zhang ha scritto: >>>> +static void rtc_irq_ack_eoi(struct kvm_vcpu *vcpu, >>>> +

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-03-28 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2013-03-26: > Il 22/03/2013 06:24, Yang Zhang ha scritto: >> +static void rtc_irq_ack_eoi(struct kvm_vcpu *vcpu, >> +struct rtc_status *rtc_status, int irq) >> +{ >> +if (irq != RTC_GSI) >> +return; >> + >> +if (test_and_clear_bit(vcpu-

RE: [PATCH v6 4/6] KVM: Add reset/restore rtc_status support

2013-03-28 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2013-03-26: > Il 22/03/2013 06:24, Yang Zhang ha scritto: >> +vector = ioapic->redirtbl[RTC_GSI].fields.vector; >> +kvm_for_each_vcpu(i, vcpu, ioapic->kvm) { >> +if (kvm_apic_pending_eoi(vcpu, vector)) { >> +pending_eoi++; >> +

RE: [PATCH v6 4/6] KVM: Add reset/restore rtc_status support

2013-03-28 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2013-03-26: > Il 22/03/2013 06:24, Yang Zhang ha scritto: >> +static void rtc_irq_restore(struct kvm_ioapic *ioapic) >> +{ >> +struct kvm_vcpu *vcpu; >> +int vector, i, pending_eoi = 0; >> + >> +if (RTC_GSI != 8) > > Please set it to -1U if not x86, and do > >

RE: KVM EPT implementation

2013-03-28 Thread Zhang, Yang Z
Tony Roberts wrote on 2013-03-29: > Hello list, > > (Apologies if this appears twice!) > > I'm currently doing some research into guest memory allocation, > specifically trying to determine when guests write data into certain > memory locations, and I'm trying to get my head around how KVM update

RE: [PATCH] KVM: x86: Avoid busy loops over uninjectable pending APIC timers

2013-03-24 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-22: > On Fri, Mar 22, 2013 at 07:43:03AM -0300, Marcelo Tosatti wrote: >> On Fri, Mar 22, 2013 at 08:53:15AM +0200, Gleb Natapov wrote: >>> On Thu, Mar 21, 2013 at 08:06:41PM -0300, Marcelo Tosatti wrote: On Thu, Mar 21, 2013 at 11:13:39PM +0200, Gleb Natapov wrot

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-03-22 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-22: > On Fri, Mar 22, 2013 at 08:51:47AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-22: >>> On Fri, Mar 22, 2013 at 08:37:22AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-03-22: >>>>> On

RE: [PATCH v5 4/6] KVM: Add reset/restore rtc_status support

2013-03-22 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-03-22: > On Thu, Mar 21, 2013 at 06:49:22PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/lapic.c |8 >> arch/x86/kvm/lapic.h |2 ++ >> virt/kvm/ioapic.c| 35 ++

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-03-22 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-22: > On Fri, Mar 22, 2013 at 08:37:22AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-22: >>> On Fri, Mar 22, 2013 at 08:25:21AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-03-22: >>>>> On

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-03-22 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-22: > On Fri, Mar 22, 2013 at 08:25:21AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-22: >>> On Fri, Mar 22, 2013 at 08:05:27AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-03-22: >>>>> O

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-03-22 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-22: > On Fri, Mar 22, 2013 at 08:05:27AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-22: >>> On Fri, Mar 22, 2013 at 01:24:05PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> Current

RE: [PATCH v6 6/6] KVM: Use eoi to track RTC interrupt delivery status

2013-03-22 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-22: > On Fri, Mar 22, 2013 at 01:24:05PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Current interrupt coalescing logci which only used by RTC has conflict >> with Posted Interrupt. >> This patch introduces a new mechinism to use eoi to track interrupt: >> Whe

RE: [PATCH v6 3/6] KVM : Return destination vcpu on interrupt injection

2013-03-22 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-22: > On Fri, Mar 22, 2013 at 01:24:02PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Add a new parameter to know vcpus who received the interrupt. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/lapic.c | 25 - >> arch/x86/k

RE: [PATCH] KVM: x86: Avoid busy loops over uninjectable pending APIC timers

2013-03-21 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-03-22: > On Thu, Mar 21, 2013 at 11:13:39PM +0200, Gleb Natapov wrote: >> On Thu, Mar 21, 2013 at 05:51:50PM -0300, Marcelo Tosatti wrote: >> But current PI patches do break them, thats my point. So we either >> need to revise them again, or drop LAPIC timer re

RE: [PATCH] KVM: x86: Avoid busy loops over uninjectable pending APIC timers

2013-03-21 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 11:02:24AM -0300, Marcelo Tosatti wrote: >> On Thu, Mar 21, 2013 at 06:54:46AM +0200, Gleb Natapov wrote: >>> On Wed, Mar 20, 2013 at 08:19:13PM -0300, Marcelo Tosatti wrote: On Wed, Mar 20, 2013 at 11:32:38PM +0200, Gleb Natapov wrot

RE: [PATCH v5 3/6] KVM : Calculate destination vcpu on interrupt injection

2013-03-21 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 12:12:06PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-21: >>> On Thu, Mar 21, 2013 at 11:56:05AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-03-21: >>>>> O

RE: [PATCH v5 2/6] KVM: Introduce struct rtc_status

2013-03-21 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 06:49:20PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Signed-off-by: Yang Zhang >> --- >> virt/kvm/ioapic.h |8 >> 1 files changed, 8 insertions(+), 0 deletions(-) >> diff --git a/virt/kvm/ioapic.h b/virt/kvm/ioapi

RE: [PATCH v5 3/6] KVM : Calculate destination vcpu on interrupt injection

2013-03-21 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 11:56:05AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-21: >>> On Thu, Mar 21, 2013 at 06:49:21PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> Add a

RE: [PATCH v5 3/6] KVM : Calculate destination vcpu on interrupt injection

2013-03-21 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 06:49:21PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Add a new parameter to know vcpus who received the interrupt. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/lapic.c | 21 - >> arch/x86/kvm/l

RE: [PATCH v4 5/7] KVM: Recalculate destination vcpu map

2013-03-21 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-20: > On Wed, Mar 20, 2013 at 07:36:17PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Update RTC interrrupt's destination vcpu map when ioapic entry of RTC >> or apic register (id, ldr, dfr) is changed. >> >> Signed-off-by: Yang Zhang >> --- >> virt/kvm/ioap

RE: [PATCH v4 5/7] KVM: Recalculate destination vcpu map

2013-03-21 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 05:39:46AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-21: >>> On Thu, Mar 21, 2013 at 05:30:32AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-03-21: >>>>> On

RE: [PATCH v4 5/7] KVM: Recalculate destination vcpu map

2013-03-20 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 05:30:32AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-21: >>> On Thu, Mar 21, 2013 at 03:42:46AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-03-20: >>>>> O

RE: [PATCH v4 5/7] KVM: Recalculate destination vcpu map

2013-03-20 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-21: > On Thu, Mar 21, 2013 at 03:42:46AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-20: >>> On Wed, Mar 20, 2013 at 07:36:17PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> Update R

RE: [PATCH v4 5/7] KVM: Recalculate destination vcpu map

2013-03-20 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-20: > On Wed, Mar 20, 2013 at 07:36:17PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Update RTC interrrupt's destination vcpu map when ioapic entry of RTC >> or apic register (id, ldr, dfr) is changed. >> >> Signed-off-by: Yang Zhang >> --- >> virt/kvm/ioap

RE: [PATCH v6 5/5] KVM : VMX: Use posted interrupt to deliver virtual interrupt

2013-03-20 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-20: > On Wed, Mar 20, 2013 at 11:47:49AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-20: >>> On Tue, Mar 19, 2013 at 12:27:38PM -0300, Marcelo Tosatti wrote: >>>> On Tue, Mar 19, 2013 at 12:19:55PM -0300, Marcelo Tosatti

RE: [PATCH v6 5/5] KVM : VMX: Use posted interrupt to deliver virtual interrupt

2013-03-20 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-20: > On Tue, Mar 19, 2013 at 12:27:38PM -0300, Marcelo Tosatti wrote: >> On Tue, Mar 19, 2013 at 12:19:55PM -0300, Marcelo Tosatti wrote: >>> See the previous argument: should never enter guest mode with PIR ON bit >>> set. With logic above: >>> >>> context1

RE: [PATCH v2 6/8] KVM: Add reset/restore rtc_status support

2013-03-20 Thread Zhang, Yang Z
I have send out the latest patch(v4). Please give comments for the latest one, because some issues you point out may not exist on latest patch. If it still exits. please point out it again. Zhang, Yang Z wrote on 2013-03-20: > Marcelo Tosatti wrote on 2013-03-20: >> On Mon, Mar 18, 2

RE: [PATCH v3 5/8] KVM: Recalculate destination vcpu map

2013-03-19 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-19: > On Mon, Mar 18, 2013 at 08:47:19PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Update destination vcpu map when ioapic entry or apic(id, ldr, dfr) is >> changed >> >> Signed-off-by: Yang Zhang >> --- >> virt/kvm/ioapic.c | 40 ++

RE: [PATCH v2 8/8] KVM: Use eoi to track RTC interrupt delivery status

2013-03-19 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-03-20: > On Mon, Mar 18, 2013 at 03:24:39PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Current interrupt coalescing logci which only used by RTC has conflict >> with Posted Interrupt. >> This patch introduces a new mechinism to use eoi to track interrupt: >>

RE: [PATCH v2 6/8] KVM: Add reset/restore rtc_status support

2013-03-19 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-03-20: > On Mon, Mar 18, 2013 at 03:24:37PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> reset/restore rtc_status when ioapic reset/restore. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/lapic.c |8 >> arch/x86/kvm/lapic.h |1 + >>

RE: [PATCH v2 6/8] KVM: Add reset/restore rtc_status support

2013-03-19 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-03-20: > On Mon, Mar 18, 2013 at 03:24:37PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> reset/restore rtc_status when ioapic reset/restore. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/lapic.c |8 >> arch/x86/kvm/lapic.h |1 + >>

RE: [PATCH v6 5/5] KVM : VMX: Use posted interrupt to deliver virtual interrupt

2013-03-19 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-19: > On Tue, Mar 19, 2013 at 12:42:01PM +0000, Zhang, Yang Z wrote: >>>>>> local_irq_disable(); >>>>>> +kvm_x86_ops->posted_intr_clear_on(vcpu); >>>>>> + >>>>> Why is this s

RE: [PATCH v6 5/5] KVM : VMX: Use posted interrupt to deliver virtual interrupt

2013-03-19 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-19: > On Tue, Mar 19, 2013 at 12:11:47PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-19: >>> On Fri, Mar 15, 2013 at 09:31:11PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> If posted

RE: [PATCH v6 5/5] KVM : VMX: Use posted interrupt to deliver virtual interrupt

2013-03-19 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-19: > On Fri, Mar 15, 2013 at 09:31:11PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> If posted interrupt is avaliable, then uses it to inject virtual >> interrupt to guest. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/irq.c |3 ++- >> arch/x

RE: [PATCH] KVM: Set TMR when programming ioapic entry

2013-03-18 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-18: > On Mon, Mar 18, 2013 at 12:32:51PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-03-18: >>> On Mon, Mar 18, 2013 at 07:42:22PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> We a

RE: [PATCH] KVM: Set TMR when programming ioapic entry

2013-03-18 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-18: > On Mon, Mar 18, 2013 at 07:42:22PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> We already know the trigger mode of a given interrupt when programming >> the ioapice entry. So it's not necessary to set it in each interrupt >> delivery. >> > What this pat

RE: [PATCH v6 0/5] KVM: VMX: Add Posted Interrupt supporting

2013-03-18 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-18: > On Mon, Mar 18, 2013 at 10:43:16AM +0000, Zhang, Yang Z wrote: >>>> For TMR issue, since it has nothing to do with APICv, if we really need to > handle >>> it later, then we may need a separate patch to fix it. But currently, we ma

RE: [PATCH v2 8/8] KVM: Use eoi to track RTC interrupt delivery status

2013-03-18 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-18: > On Mon, Mar 18, 2013 at 03:24:39PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Current interrupt coalescing logci which only used by RTC has conflict >> with Posted Interrupt. >> This patch introduces a new mechinism to use eoi to track interrupt: >> Whe

RE: [PATCH v2 5/8] KVM: Recalculate destination vcpu map

2013-03-18 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-18: > On Mon, Mar 18, 2013 at 03:24:36PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Update destination vcpu map when ioapic entry or apic(id, ldr, dfr) is >> changed >> >> Signed-off-by: Yang Zhang >> --- >> virt/kvm/ioapic.c | 38 ++

RE: [PATCH v2 4/8] KVM: Introduce struct rtc_status

2013-03-18 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-18: > On Mon, Mar 18, 2013 at 03:24:35PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Signed-off-by: Yang Zhang >> --- >> virt/kvm/ioapic.h |9 + >> 1 files changed, 9 insertions(+), 0 deletions(-) >> diff --git a/virt/kvm/ioapic.h b/virt/kvm/ioap

RE: [PATCH v6 0/5] KVM: VMX: Add Posted Interrupt supporting

2013-03-18 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-18: > On Mon, Mar 18, 2013 at 02:49:25AM +0000, Zhang, Yang Z wrote: >> Zhang, Yang Z wrote on 2013-03-15: >>> From: Yang Zhang >>> >>> The follwoing patches are adding the Posted Interrupt supporting to KVM: >>> The

RE: [PATCH v6 0/5] KVM: VMX: Add Posted Interrupt supporting

2013-03-17 Thread Zhang, Yang Z
Zhang, Yang Z wrote on 2013-03-15: > From: Yang Zhang > > The follwoing patches are adding the Posted Interrupt supporting to KVM: > The first patch enables the feature 'acknowledge interrupt on vmexit'.Since > it is required by Posted interrupt, we need to enable

RE: [PATCH 5/5] KVM: use eoi to track RTC interrupt delivery status

2013-03-17 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-17: > On Fri, Mar 15, 2013 at 04:05:00PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Current interrupt coalescing logci which only used by RTC has conflict >> with Posted Interrupt. >> This patch introduces a new mechinism to use eoi to track interrupt: >> Whe

RE: [PATCH v5 2/5] KVM: VMX: Register a new IPI for posted interrupt

2013-03-14 Thread Zhang, Yang Z
Ingo Molnar wrote on 2013-03-08: > > * Gleb Natapov wrote: > >> On Fri, Mar 08, 2013 at 03:05:45PM +0100, Ingo Molnar wrote: >>> >>> * Gleb Natapov wrote: >>> On Fri, Mar 08, 2013 at 02:26:25PM +0100, Ingo Molnar wrote: > > * Yang Zhang wrote: > >> diff --git a/arch/x8

RE: [PATCH v5 5/5] KVM : VMX: Use posted interrupt to deliver virtual interrupt

2013-03-11 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-03-11: > On Fri, Mar 08, 2013 at 09:23:21AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> If posted interrupt is avaliable, then uses it to inject virtual >> interrupt to guest. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/irq.c |2 +- >> arch/x8

RE: [PATCH v5 5/5] KVM : VMX: Use posted interrupt to deliver virtual interrupt

2013-03-08 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-03-09: > On Fri, Mar 08, 2013 at 09:23:21AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> If posted interrupt is avaliable, then uses it to inject virtual >> interrupt to guest. >> >> Signed-off-by: Yang Zhang >> --- >> arch/x86/kvm/irq.c |2 +- >> arch

RE: [PATCH v5 4/5] KVM: VMX: Add the algorithm of deliver posted interrupt

2013-03-08 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-03-09: > On Fri, Mar 08, 2013 at 09:23:20AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Only deliver the posted interrupt when target vcpu is running >> and there is no previous interrupt pending in pir. >> >> Signed-off-by: Yang Zhang >> >> +static bool vm

RE: [PATCH v5 2/5] KVM: VMX: Register a new IPI for posted interrupt

2013-03-08 Thread Zhang, Yang Z
Ingo Molnar wrote on 2013-03-08: > > * Gleb Natapov wrote: > >> On Fri, Mar 08, 2013 at 02:26:25PM +0100, Ingo Molnar wrote: >>> >>> * Yang Zhang wrote: >>> diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c index 6e03b0d..2329a54 100644 --- a/arch/x86/kernel/ir

RE: [Qemu-devel][PATCH 00/12] KVM Support for MIPS32 Processors

2013-03-03 Thread Zhang, Yang Z
Sanjay Lal wrote on 2013-03-02: > The following patchset implements KVM support for MIPS32 processors, > using Trap & Emulate, with basic runtime binary translation to improve > performance. > > In KVM mode, CPU virtualization is handled via the kvm kernel module, > while system and I/O virtualiza

RE: [PATCH] KVM: VMX: fix interrupt lost when enable virtual interrupt delivery

2013-02-26 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-26: > On Tue, Feb 26, 2013 at 08:34:16PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> In the platform which supporing virtual interrupt delivery feature, >> hardware will clear vIRR atomatically when target vcpu is running. >> So software should not modify vIRR

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-25 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-25: > On Mon, Feb 25, 2013 at 06:55:58AM +0000, Zhang, Yang Z wrote: >>> >>> p1) >>> >>>>> cpu0 cpu1vcpu0 >>

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-25 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-25: > On Mon, Feb 25, 2013 at 11:13:25AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-02-25: >>> On Mon, Feb 25, 2013 at 11:04:25AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-02-25: >>>>> On

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-25 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-25: > On Mon, Feb 25, 2013 at 11:04:25AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-02-25: >>> On Mon, Feb 25, 2013 at 08:42:52AM +, Zhang, Yang Z wrote: >>>> Avi Kivity wrote on 2013-02-25: >>>>> I di

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-25 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-25: > On Mon, Feb 25, 2013 at 08:42:52AM +0000, Zhang, Yang Z wrote: >> Avi Kivity wrote on 2013-02-25: >>> I didn't really follow, but is the root cause the need to keep track >>> of interrupt coalescing? If so we can recommend that

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-25 Thread Zhang, Yang Z
eb Natapov wrote: >>> On Sun, Feb 24, 2013 at 01:55:07PM +, Zhang, Yang Z wrote: >>>>> I do not think it fixes it. There is no guaranty that IPI will be >>>>> processed by remote cpu while sending cpu is still in locked section, so >>>>>

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-24 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-25: > On Sun, Feb 24, 2013 at 01:55:07PM +0000, Zhang, Yang Z wrote: >>> contexts, but only two use locks. >> See following logic, I think the problem you mentioned will not >> happened with current logic. >> >> get lock >&

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-24 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-25: > On Sun, Feb 24, 2013 at 01:17:59PM +0000, Zhang, Yang Z wrote: >> Marcelo Tosatti wrote on 2013-02-24: >>> On Sat, Feb 23, 2013 at 03:16:11PM +, Zhang, Yang Z wrote: >>>> Marcelo Tosatti wrote on 2013-02-23: >>>>

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-24 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-24: > On Sun, Feb 24, 2013 at 01:55:07PM +0000, Zhang, Yang Z wrote: >>> I do not think it fixes it. There is no guaranty that IPI will be >>> processed by remote cpu while sending cpu is still in locked section, so >>> the same race may

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-24 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-24: > On Sat, Feb 23, 2013 at 02:05:13PM -0300, Marcelo Tosatti wrote: >> On Sat, Feb 23, 2013 at 05:31:44PM +0200, Gleb Natapov wrote: >>> On Sat, Feb 23, 2013 at 11:48:54AM -0300, Marcelo Tosatti wrote: >>> 1. orig_irr = read irr from vapic page >>> 2. if (or

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-24 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-24: > On Sat, Feb 23, 2013 at 03:16:11PM +0000, Zhang, Yang Z wrote: >> Marcelo Tosatti wrote on 2013-02-23: >>> On Sat, Feb 23, 2013 at 02:05:28PM +, Zhang, Yang Z wrote: >>>> Marcelo Tosatti wrote on 2013-02-23: >>>>&

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-23 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-23: > On Sat, Feb 23, 2013 at 02:05:28PM +0000, Zhang, Yang Z wrote: >> Marcelo Tosatti wrote on 2013-02-23: >>> >>> On Fri, Feb 22, 2013 at 09:42:32PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >

RE: [PATCH v4 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-23 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-23: > > On Fri, Feb 22, 2013 at 09:42:32PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Posted Interrupt allows APIC interrupts to inject into guest directly >> without any vmexit. >> >> - When delivering a interrupt to guest, if target vcpu is running, >>

RE: [PATCH v3 1/2] KVM: VMX: enable acknowledge interupt on vmexit

2013-02-21 Thread Zhang, Yang Z
Avi Kivity wrote on 2013-02-21: > On Thu, Feb 21, 2013 at 10:58 AM, Zhang, Yang Z > wrote: >> Thanks. Here is code after changing, please review it: >> >> asm( >> "mov %0, %%" _ASM_DX " \n\t" #ifdef >>

RE: [PATCH v3 1/2] KVM: VMX: enable acknowledge interupt on vmexit

2013-02-21 Thread Zhang, Yang Z
Avi Kivity wrote on 2013-02-20: > On Wed, Feb 20, 2013 at 3:10 PM, Zhang, Yang Z > wrote: >>>>> >>>>> push %%cs >>>> "push %%cs" is invalid in x86_64. >>> >>> Oops. 'push[lq] $__KERNEL_CS' then. >> Is th

RE: [PATCH v3 1/2] KVM: VMX: enable acknowledge interupt on vmexit

2013-02-21 Thread Zhang, Yang Z
Eric Northup wrote on 2013-02-21: > On Tue, Feb 19, 2013 at 6:46 PM, Zhang, Yang Z wrote: >> >> Avi Kivity wrote on 2013-02-20: >>> On Tue, Feb 19, 2013 at 3:39 PM, Yang Zhang >>> wrote: >>>> From: Yang Zhang >>>> >>>> Th

RE: [PATCH v3 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-20 Thread Zhang, Yang Z
Hi Marcelo, Can you help to review this patch? Many thanks if you can review it quickly. Zhang, Yang Z wrote on 2013-02-19: > From: Yang Zhang > > Posted Interrupt allows APIC interrupts to inject into guest directly > without any vmexit. > > - When delivering a interrupt t

RE: [PATCH v3 1/2] KVM: VMX: enable acknowledge interupt on vmexit

2013-02-20 Thread Zhang, Yang Z
Avi Kivity wrote on 2013-02-20: > On Wed, Feb 20, 2013 at 4:46 AM, Zhang, Yang Z > wrote: >>>> >>>> +static void vmx_handle_external_intr(struct kvm_vcpu *vcpu) +{ + >>>> u32 exit_intr_info = vmcs_read32(VM_EXIT_INTR_INFO); + + /* + >>>&g

RE: [PATCH v3 1/2] KVM: VMX: enable acknowledge interupt on vmexit

2013-02-20 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-20: > On Wed, Feb 20, 2013 at 02:46:05AM +0000, Zhang, Yang Z wrote: >> Avi Kivity wrote on 2013-02-20: >>> On Tue, Feb 19, 2013 at 3:39 PM, Yang Zhang > wrote: >>>> From: Yang Zhang >>>> >>>> The "ackn

RE: [PATCH v3 1/2] KVM: VMX: enable acknowledge interupt on vmexit

2013-02-19 Thread Zhang, Yang Z
Avi Kivity wrote on 2013-02-20: > On Tue, Feb 19, 2013 at 3:39 PM, Yang Zhang wrote: >> From: Yang Zhang >> >> The "acknowledge interrupt on exit" feature controls processor behavior >> for external interrupt acknowledgement. When this control is set, the >> processor acknowledges the interrupt

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-02-05 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-05: > On Tue, Feb 05, 2013 at 01:26:42PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-02-05: >>> On Tue, Feb 05, 2013 at 10:58:28AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-02-05: >>>>> On

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-02-05 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-05: > On Tue, Feb 05, 2013 at 10:58:28AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-02-05: >>> On Tue, Feb 05, 2013 at 10:35:55AM +, Zhang, Yang Z wrote: >>>> Gleb Natapov wrote on 2013-02-05: >>>>> On

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-02-05 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-05: > On Tue, Feb 05, 2013 at 10:35:55AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-02-05: >>> On Tue, Feb 05, 2013 at 05:57:14AM +, Zhang, Yang Z wrote: >>>> Marcelo Tosatti wrote on 2013-02-05: >>>>

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-02-05 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-05: > On Tue, Feb 05, 2013 at 05:57:14AM +0000, Zhang, Yang Z wrote: >> Marcelo Tosatti wrote on 2013-02-05: >>> On Mon, Feb 04, 2013 at 05:59:52PM -0200, Marcelo Tosatti wrote: >>>> On Mon, Feb 04, 2013 at 07:13:01PM +0200, Gleb Natap

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-02-04 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-02-05: > On Mon, Feb 04, 2013 at 05:59:52PM -0200, Marcelo Tosatti wrote: >> On Mon, Feb 04, 2013 at 07:13:01PM +0200, Gleb Natapov wrote: >>> On Mon, Feb 04, 2013 at 12:43:45PM -0200, Marcelo Tosatti wrote: >> Any example how software relies on such > two-interrup

RE: [PATCH v2 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-04 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-04: > On Mon, Feb 04, 2013 at 05:05:14PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Posted Interrupt allows APIC interrupts to inject into guest directly >> without any vmexit. >> >> - When delivering a interrupt to guest, if target vcpu is running, >> upd

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-02-04 Thread Zhang, Yang Z
This patch is too old. Some issues you point out already fixed in v2 patch. Please review v2 patch and give some comments. Gleb Natapov wrote on 2013-01-31: > On Thu, Dec 13, 2012 at 03:29:40PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Posted Interrupt allows APIC interrupts to inject i

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-02-04 Thread Zhang, Yang Z
Sorry for the late response. Marcelo Tosatti wrote on 2013-02-04: > On Thu, Jan 31, 2013 at 03:55:56PM +0200, Gleb Natapov wrote: >> On Thu, Jan 31, 2013 at 11:44:43AM -0200, Marcelo Tosatti wrote: >>> On Thu, Jan 31, 2013 at 03:38:37PM +0200, Gleb Natapov wrote: On Thu, Jan 31, 2013 at 11:32

RE: [PATCH v4] KVM: VMX: enable acknowledge interupt on vmexit

2013-01-30 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-30: > On Wed, Jan 30, 2013 at 08:36:12PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> The "acknowledge interrupt on exit" feature controls processor behavior >> for external interrupt acknowledgement. When this control is set, the >> processor acknowledges the

RE: [PATCH v3] KVM: VMX: enable acknowledge interupt on vmexit

2013-01-28 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-28: > On Mon, Jan 28, 2013 at 08:54:07AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> The "acknowledge interrupt on exit" feature controls processor behavior >> for external interrupt acknowledgement. When this control is set, the >> processor acknowledges the

RE: [PATCH v3] KVM: VMX: enable acknowledge interupt on vmexit

2013-01-28 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-28: > On Mon, Jan 28, 2013 at 08:54:07AM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> The "acknowledge interrupt on exit" feature controls processor behavior >> for external interrupt acknowledgement. When this control is set, the >> processor acknowledges the

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-01-24 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-01-25: > On Thu, Dec 13, 2012 at 03:29:40PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Posted Interrupt allows APIC interrupts to inject into guest directly >> without any vmexit. >> >> - When delivering a interrupt to guest, if target vcpu is running, >>

RE: [PATCH v12 3/3] x86, apicv: add virtual interrupt delivery support

2013-01-24 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-24: > On Thu, Jan 24, 2013 at 01:47:34PM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-01-24: >>> On Wed, Jan 23, 2013 at 10:47:26PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> Virtual in

RE: [PATCH v12 3/3] x86, apicv: add virtual interrupt delivery support

2013-01-24 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-24: > On Wed, Jan 23, 2013 at 10:47:26PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Virtual interrupt delivery avoids KVM to inject vAPIC interrupts >> manually, which is fully taken care of by the hardware. This needs >> some special awareness into existing

RE: [PATCH v12 3/3] x86, apicv: add virtual interrupt delivery support

2013-01-24 Thread Zhang, Yang Z
Thanks for your comments. Will modify it in next patch. Gleb Natapov wrote on 2013-01-24: > On Wed, Jan 23, 2013 at 10:47:26PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Virtual interrupt delivery avoids KVM to inject vAPIC interrupts >> manually, which is fully taken care of by the hard

RE: [PATCH v12 2/3] x86, apicv: add virtual x2apic support

2013-01-24 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-24: > On Wed, Jan 23, 2013 at 10:47:25PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> basically to benefit from apicv, we need to enable virtualized x2apic mode. >> Currently, we only enable it when guest is really using x2apic. >> >> Also, clear MSR bitmap fo

RE: [PATCH v2] KVM: VMX: enable acknowledge interupt on vmexit

2013-01-23 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-24: > On Thu, Jan 24, 2013 at 12:47:14AM +0000, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2013-01-23: >>> On Tue, Jan 22, 2013 at 01:49:31PM +0800, Yang Zhang wrote: >>>> From: Yang Zhang >>>> >>>> The &quo

RE: [PATCH v2] KVM: VMX: enable acknowledge interupt on vmexit

2013-01-23 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-23: > On Tue, Jan 22, 2013 at 01:49:31PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> The "acknowledge interrupt on exit" feature controls processor behavior >> for external interrupt acknowledgement. When this control is set, the >> processor acknowledges the

RE: [PATCH v12 0/3] x86, apicv: Add APIC virtualization support

2013-01-23 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-01-24: > On Wed, Jan 23, 2013 at 10:47:23PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> APIC virtualization is a new feature which can eliminate most of VM exit >> when vcpu handle a interrupt: >> >> APIC register virtualization: >> APIC read access d

RE: [PATCH v11 3/3] x86, apicv: add virtual interrupt delivery support

2013-01-23 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-01-23: > On Wed, Jan 23, 2013 at 12:45:39AM +0000, Zhang, Yang Z wrote: >>> We are getting close so please test with userspace irq chip too. >> Thanks for your suggestion to test with userspace irqchip. I found some >> issues and will modify the l

RE: [PATCH 2/2] x86, apicv: Add Posted Interrupt supporting

2013-01-22 Thread Zhang, Yang Z
Marcelo Tosatti wrote on 2013-01-23: > On Thu, Dec 13, 2012 at 03:29:40PM +0800, Yang Zhang wrote: >> From: Yang Zhang >> >> Posted Interrupt allows APIC interrupts to inject into guest directly >> without any vmexit. >> >> - When delivering a interrupt to guest, if target vcpu is running, >>

<    1   2   3   4   >