• Radim Krčmář's avatar
    KVM: x86: fix mixed APIC mode broadcast · 9ea369b0
    Radim Krčmář authored
    Broadcast allowed only one global APIC mode, but mixed modes are
    theoretically possible.  x2APIC IPI doesn't mean 0xff as broadcast,
    the rest does.
    
    x2APIC broadcasts are accepted by xAPIC.  If we take SDM to be logical,
    even addreses beginning with 0xff should be accepted, but real hardware
    disagrees.  This patch aims for simple code by considering most of real
    behavior as undefined.
    Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
    Message-Id: <1423766494-26150-3-git-send-email-rkrcmar@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    9ea369b0
lapic.c 50.9 KB