freebsd-skq/sys/amd64/vmm
neel c5e619b651 Support array-type of stats in bhyve.
An array-type stat in vmm.ko is defined as follows:
VMM_STAT_ARRAY(IPIS_SENT, VM_MAXCPU, "ipis sent to vcpu");

It is incremented as follows:
vmm_stat_array_incr(vm, vcpuid, IPIS_SENT, array_index, 1);

And output of 'bhyvectl --get-stats' looks like:
ipis sent to vcpu[0]     3114
ipis sent to vcpu[1]     0

Reviewed by:	grehan
Obtained from:	NetApp
2013-05-10 02:59:49 +00:00
..
amd Maintain state regarding NMI delivery to guest vcpu in VT-x independent manner. 2012-10-24 02:54:21 +00:00
intel Add RIP-relative addressing to the instruction decoder. 2013-04-25 04:56:43 +00:00
io Support array-type of stats in bhyve. 2013-05-10 02:59:49 +00:00
vmm_dev.c Support array-type of stats in bhyve. 2013-05-10 02:59:49 +00:00
vmm_host.c Corral all the host state associated with the virtual machine into its own file. 2012-10-29 01:51:24 +00:00
vmm_host.h Corral all the host state associated with the virtual machine into its own file. 2012-10-29 01:51:24 +00:00
vmm_instruction_emul.c Switch to standard copyright license text 2013-05-02 12:35:15 +00:00
vmm_ipi.c Provide per-vcpu locks instead of relying on a single big lock. 2012-10-12 18:32:44 +00:00
vmm_ipi.h Provide per-vcpu locks instead of relying on a single big lock. 2012-10-12 18:32:44 +00:00
vmm_ktr.h
vmm_lapic.c Change emulate_rdmsr() and emulate_wrmsr() to return 0 on sucess and errno on 2012-11-28 13:10:18 +00:00
vmm_lapic.h Revamp the x86 instruction emulation in bhyve. 2012-11-28 00:02:17 +00:00
vmm_mem.c Set the valid field of the newly allocated field as all other 2012-10-26 22:32:26 +00:00
vmm_mem.h Allocate memory pages for the guest from the host's free page queue. 2012-10-08 23:41:26 +00:00
vmm_msr.c Change emulate_rdmsr() and emulate_wrmsr() to return 0 on sucess and errno on 2012-11-28 13:10:18 +00:00
vmm_msr.h
vmm_stat.c Support array-type of stats in bhyve. 2013-05-10 02:59:49 +00:00
vmm_stat.h Support array-type of stats in bhyve. 2013-05-10 02:59:49 +00:00
vmm_support.S
vmm_util.c
vmm_util.h
vmm.c Add RIP-relative addressing to the instruction decoder. 2013-04-25 04:56:43 +00:00
x86.c Unsynchronized TSCs on the host require special handling in bhyve: 2013-04-10 05:59:07 +00:00
x86.h Handle CPUID leaf 0x7 now that FreeBSD is using it. 2012-11-20 06:01:03 +00:00