[common] kvmfr: add field for CPU socket count

This commit is contained in:
Quantum 2022-01-07 03:20:53 -05:00 committed by Geoffrey McRae
parent 2099161b7e
commit 2834c7d95b

View File

@ -28,7 +28,7 @@
#include "types.h" #include "types.h"
#define KVMFR_MAGIC "KVMFR---" #define KVMFR_MAGIC "KVMFR---"
#define KVMFR_VERSION 15 #define KVMFR_VERSION 16
#define KVMFR_MAX_DAMAGE_RECTS 64 #define KVMFR_MAX_DAMAGE_RECTS 64
@ -101,6 +101,7 @@ typedef struct KVMFRRecord_VMInfo
char capture[32]; // the capture device in use char capture[32]; // the capture device in use
uint8_t cpus; // number of CPUs uint8_t cpus; // number of CPUs
uint8_t cores; // number of CPU cores uint8_t cores; // number of CPU cores
uint8_t sockets; // number of CPU sockets
char model[]; char model[];
} }
KVMFRRecord_VMInfo; KVMFRRecord_VMInfo;