opnsense-src/lib/libvmmapi
John Baldwin ffd150099c Extend the VMM stats interface to support a dynamic count of statistics.
- Add a starting index to 'struct vmstats' and change the
  VM_STATS ioctl to fetch the 64 stats starting at that index.
  A compat shim for <= 13 continues to fetch only the first 64
  stats.

- Extend vm_get_stats() in libvmmapi to use a loop and a static
  thread local buffer which grows to hold the stats needed.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D27463

(cherry picked from commit 6426978617)
2022-04-29 16:08:17 -07:00
..
Makefile libvmmapi: Fix warnings and stop overridding WARNS 2021-08-02 15:01:02 -04:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
vmmapi.c Extend the VMM stats interface to support a dynamic count of statistics. 2022-04-29 16:08:17 -07:00
vmmapi.h bhyve: support relocating fbuf and passthru data BARs 2021-03-26 21:50:41 +08:00
vmmapi_freebsd.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00