kvm: bios: detect vapic calls to uninitialized vapic
commite860f70194b54346cb0df03301126a86ddd4b000
authorAvi Kivity <avi@qumranet.com>
Thu, 14 Aug 2008 16:31:27 +0000 (14 19:31 +0300)
committerAvi Kivity <avi@qumranet.com>
Thu, 14 Aug 2008 16:31:27 +0000 (14 19:31 +0300)
tree50338ec95aee72b4f2a9c014d4d42b9002276b3c
parentb5fc9bb3fa8816a1d04972bc739733cab5241846
kvm: bios: detect vapic calls to uninitialized vapic

when resuming from hibernation, the saved image will contain calls to the vapic
even though the vapic was never enabled on this run.  add hooks so qemu can
detect this condition.

Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/bios/vapic.S