Re: [PATCH 07/12] Rename kvm_apic_accept_pic_intr

2009-12-02 Thread Gleb Natapov
On Tue, Dec 01, 2009 at 03:36:36PM +0100, Chris Lalancette wrote: > Call it kvm_apic_in_virtual_wire_mode, which is more > correct. Also change it to not only operate properly > on the boot CPU, but on any CPU. > Currently it is assumed that if kvm_cpu_has_interrupt() returns true kvm_cpu_get_int

Re: [PATCH 07/12] Rename kvm_apic_accept_pic_intr

2009-12-02 Thread Avi Kivity
On 12/01/2009 04:36 PM, Chris Lalancette wrote: Call it kvm_apic_in_virtual_wire_mode, which is more correct. Also change it to not only operate properly on the boot CPU, but on any CPU. I'm a little worried about the latter change. It effectively modifies the platform from having the PI

[PATCH 07/12] Rename kvm_apic_accept_pic_intr

2009-12-01 Thread Chris Lalancette
Call it kvm_apic_in_virtual_wire_mode, which is more correct. Also change it to not only operate properly on the boot CPU, but on any CPU. Signed-off-by: Chris Lalancette --- arch/x86/kvm/i8259.c |2 +- arch/x86/kvm/irq.c |4 ++-- arch/x86/kvm/lapic.c | 17 - arch/x8