correctly check ppr priority during interrupt injection]
authorGleb Natapov <gleb@redhat.com>
Mon, 7 Feb 2011 14:14:44 +0000 (16:14 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Feb 2011 14:43:30 +0000 (08:43 -0600)
commitb2d62e7442448b585ea75e615c63c3a27dbf3d0a
tree09e1992d305189bece5f56ead8f2c70e7f578785
parentc2f1096660ffcdf193198f6b9f6002c56b02019b
correctly check ppr priority during interrupt injection]

TPR blocks all interrupts in a priority class, so simple "less or
equal" check is not enough.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/apic.c