kvm: kvmctl: define and implement a silly apic
commita5ea55a8d06c77da883f4dbbc05a28be7ceb57a2
authorAvi Kivity <avi@qumranet.com>
Tue, 5 Jun 2007 11:42:19 +0000 (5 14:42 +0300)
committerAvi Kivity <avi@qumranet.com>
Tue, 5 Jun 2007 11:42:19 +0000 (5 14:42 +0300)
tree4cf690677db0c96ac7010aa4132dfb1e7eb0e5b1
parentfc5118ed2acce1af817c131b7efbb4ed61f14755
kvm: kvmctl: define and implement a silly apic

this defines an apic-like facility that can be used to test guest smp.
facilities include finding out the number of cpus, the current cpu id,
and sending a startup IPI.
kvm/user/main.c
kvm/user/test/apic.h [new file with mode: 0644]