kvm: x86: Check dest_map->vector to match eoi signals for rtc
authorJoerg Roedel <jroedel@suse.de>
Mon, 29 Feb 2016 15:04:45 +0000 (16:04 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Mar 2016 13:36:18 +0000 (14:36 +0100)
commit4d99ba898dd0c521ca6cdfdde55c9b58aea3cb3d
tree3019e11a4187a786fd4b51f5fc8305acffa89e3f
parent9daa50076f585854f0040aa8403eac020d6f5d64
kvm: x86: Check dest_map->vector to match eoi signals for rtc

Using the vector stored at interrupt delivery makes the eoi
matching safe agains irq migration in the ioapic.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/ioapic.c