Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102712967
D18816.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
701 B
Referenced Files
None
Subscribers
None
D18816.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18816: bhyve vmm statistics tables need to be sized relative to VM_MAXCPU
Attached
Detach File
Event Timeline
Log In to Comment