diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-12-14 06:59:08 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-12-14 06:59:08 +0000 |
commit | 37fb25885159fb90e1cd34cc2a15441d3ce59889 (patch) | |
tree | d0b3548fa696b0a9f7f6060d182bb084c142a3de /sys/arch/amd64/include/vmmvar.h | |
parent | 16b8a05325db70534955ff8516035aed3a93baec (diff) |
track used memory in each VM. This is passed back to vmctl status.
ok reyk@, beck@, mpi@
Diffstat (limited to 'sys/arch/amd64/include/vmmvar.h')
-rw-r--r-- | sys/arch/amd64/include/vmmvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index 5a02dc6c354..8b9bc4be9de 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.3 2015/11/26 08:26:48 reyk Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.4 2015/12/14 06:59:07 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -164,6 +164,7 @@ struct vm_run_params { struct vm_info_result { /* Output parameters from VMM_IOC_INFO */ size_t vir_memory_size; + size_t vir_used_size; size_t vir_ncpus; uint8_t vir_vcpu_state[VMM_MAX_VCPUS_PER_VM]; pid_t vir_creator_pid; |