KVM: Introduce bitmask for apic attention reasons
authorGleb Natapov <gleb@redhat.com>
Thu, 19 Apr 2012 11:06:29 +0000 (14:06 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Apr 2012 13:36:18 +0000 (16:36 +0300)
The patch introduces a bitmap that will hold reasons apic should be
checked during vmexit. This is in a preparation for vp eoi patch
that will add one more check on vmexit. With the bitmap we can do
if(apic_attention) to check everything simultaneously which will
add zero overhead on the fast path.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found