Re: [PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-24 Thread Radim Krčmář
2014-03-23 09:44+0100, Paolo Bonzini: > Il 21/03/2014 19:58, Radim Krčmář ha scritto: > >>> + /* > >>> + * Return 0 for coalesced interrupts; for edge-triggered interrupts, > >>> + * this only happens if a previous edge has not been delivered due > >>> + * do masking. For level interrupts, the

Re: [PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-24 Thread Radim Krčmář
2014-03-23 09:44+0100, Paolo Bonzini: Il 21/03/2014 19:58, Radim Krčmář ha scritto: + /* + * Return 0 for coalesced interrupts; for edge-triggered interrupts, + * this only happens if a previous edge has not been delivered due + * do masking. For level interrupts, the remote_irr field

Re: [PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-23 Thread Paolo Bonzini
Il 21/03/2014 19:58, Radim Krčmář ha scritto: > + /* > + * Return 0 for coalesced interrupts; for edge-triggered interrupts, > + * this only happens if a previous edge has not been delivered due > + * do masking. For level interrupts, the remote_irr field tells (^ to) > + *

Re: [PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-23 Thread Paolo Bonzini
Il 21/03/2014 19:58, Radim Krčmář ha scritto: + /* + * Return 0 for coalesced interrupts; for edge-triggered interrupts, + * this only happens if a previous edge has not been delivered due + * do masking. For level interrupts, the remote_irr field tells (^ to) + * us

Re: [PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-21 Thread Radim Krčmář
2014-03-21 10:28+0100, Paolo Bonzini: > We will reuse it to process a nonzero IRR that is passed to KVM_SET_IRQCHIP. > > Reviewed-by: Alex Williamson > Signed-off-by: Paolo Bonzini > --- > v1->v2: > more comments > change argument name from level to irq_level > >

[PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-21 Thread Paolo Bonzini
We will reuse it to process a nonzero IRR that is passed to KVM_SET_IRQCHIP. Reviewed-by: Alex Williamson Signed-off-by: Paolo Bonzini --- v1->v2: more comments change argument name from level to irq_level virt/kvm/ioapic.c | 74

[PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-21 Thread Paolo Bonzini
We will reuse it to process a nonzero IRR that is passed to KVM_SET_IRQCHIP. Reviewed-by: Alex Williamson alex.william...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- v1-v2: more comments change argument name from level to irq_level virt/kvm/ioapic.c |

Re: [PATCH v2 3/4] KVM: ioapic: extract body of kvm_ioapic_set_irq

2014-03-21 Thread Radim Krčmář
2014-03-21 10:28+0100, Paolo Bonzini: We will reuse it to process a nonzero IRR that is passed to KVM_SET_IRQCHIP. Reviewed-by: Alex Williamson alex.william...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- v1-v2: more comments change argument name from