1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/sys/amd64/vmm/io
Neel Natu 0acb0d84c5 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
..
iommu.c Allocate memory pages for the guest from the host's free page queue. 2012-10-08 23:41:26 +00:00
iommu.h Allocate memory pages for the guest from the host's free page queue. 2012-10-08 23:41:26 +00:00
ppt.c Implement guest vcpu pinning using 'pthread_setaffinity_np(3)'. 2013-02-11 20:36:07 +00:00
ppt.h MSI-x interrupt support for PCI pass-thru devices. 2012-04-28 16:28:00 +00:00
vdev.c
vdev.h
vlapic.c Support array-type of stats in bhyve. 2013-05-10 02:59:49 +00:00
vlapic.h Calculate the number of host ticks until the next guest timer interrupt. 2012-10-20 08:23:05 +00:00