2 * Palacios Memory Tracking Userland Interface
3 * Copyright (c) 2014 Peter Dinda <pdinda@northwestern.edu>
6 #ifndef __PALACIOS_MEMTRACK_H__
7 #define __PALACIOS_MEMTRACK_H__
9 #include <palacios/vmm_mem_track.h>
11 #define V3_VM_MEM_TRACK_SIZE 300
12 #define V3_VM_MEM_TRACK_CMD 301
13 #define V3_VM_MEM_TRACK_SNAP 302
16 // Used to get needed info to allocate requests
17 struct v3_mem_track_sizes {
22 // These are sent for start and stop requests
23 struct v3_mem_track_cmd {
24 enum { V3_MEM_TRACK_START, V3_MEM_TRACK_STOP} request;
25 struct v3_vm_mem_track config; // for "start"
29 // A snapshot request consists of the v3_mem_track_snapshot to fill out