Page MenuHomeFreeBSD

D18816.diff
No OneTemporary

D18816.diff

Index: sys/amd64/include/vmm_dev.h
===================================================================
--- sys/amd64/include/vmm_dev.h
+++ sys/amd64/include/vmm_dev.h
@@ -157,7 +157,7 @@
int cpuid;
};
-#define MAX_VM_STATS 64
+#define MAX_VM_STATS (48 + VM_MAXCPU)
struct vm_stats {
int cpuid; /* in */
int num_entries; /* out */
Index: sys/amd64/vmm/vmm_stat.h
===================================================================
--- sys/amd64/vmm/vmm_stat.h
+++ sys/amd64/vmm/vmm_stat.h
@@ -36,7 +36,7 @@
struct vm;
-#define MAX_VMM_STAT_ELEMS 64 /* arbitrary */
+#define MAX_VMM_STAT_ELEMS (48 + VM_MAXCPU) /* semi-arbitrary */
enum vmm_stat_scope {
VMM_STAT_SCOPE_ANY,

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 5:47 AM (18 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14671235
Default Alt Text
D18816.diff (701 B)

Event Timeline