Re: [PATCH v2] KVM: x86: some apic broadcast modes does not work

2014-10-08 Thread Paolo Bonzini
Il 06/10/2014 21:08, Radim Krčmář ha scritto: > 2014-10-06 18:29+0300, Nadav Amit: >> On Oct 3, 2014, at 3:49 PM, Radim Krčmář wrote: >>> 2014-10-03 00:30+0300, Nadav Amit: >>> Reviewed-by: Radim Krčmář >>> +#define X2APIC_BROADCAST 0xul >>> >>> (int is better -- using long

Re: [PATCH v2] KVM: x86: some apic broadcast modes does not work

2014-10-07 Thread Wanpeng Li
On Fri, Oct 03, 2014 at 12:30:52AM +0300, Nadav Amit wrote: >KVM does not deliver x2APIC broadcast messages with physical mode. Intel SDM >(10.12.9 ICR Operation in x2APIC Mode) states: "A destination ID value of >_H is used for broadcast of interrupts in both logical destination and >phys

Re: [PATCH v2] KVM: x86: some apic broadcast modes does not work

2014-10-06 Thread Radim Krčmář
2014-10-06 18:29+0300, Nadav Amit: > On Oct 3, 2014, at 3:49 PM, Radim Krčmář wrote: > > 2014-10-03 00:30+0300, Nadav Amit: > > Reviewed-by: Radim Krčmář > > > >> +#define X2APIC_BROADCAST 0xul > > > > (int is better -- using long introduces an interesting feature with > > impl

Re: [PATCH v2] KVM: x86: some apic broadcast modes does not work

2014-10-06 Thread Nadav Amit
On Oct 3, 2014, at 3:49 PM, Radim Krčmář wrote: > 2014-10-03 00:30+0300, Nadav Amit: >> KVM does not deliver x2APIC broadcast messages with physical mode. Intel SDM >> (10.12.9 ICR Operation in x2APIC Mode) states: "A destination ID value of >> _H is used for broadcast of interrupts in

Re: [PATCH v2] KVM: x86: some apic broadcast modes does not work

2014-10-03 Thread Radim Krčmář
2014-10-03 00:30+0300, Nadav Amit: > KVM does not deliver x2APIC broadcast messages with physical mode. Intel SDM > (10.12.9 ICR Operation in x2APIC Mode) states: "A destination ID value of > _H is used for broadcast of interrupts in both logical destination and > physical destination mode

[PATCH v2] KVM: x86: some apic broadcast modes does not work

2014-10-02 Thread Nadav Amit
KVM does not deliver x2APIC broadcast messages with physical mode. Intel SDM (10.12.9 ICR Operation in x2APIC Mode) states: "A destination ID value of _H is used for broadcast of interrupts in both logical destination and physical destination modes." In addition, the local-apic enables cl