Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106928748
D37176.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
872 B
Referenced Files
None
Subscribers
None
D37176.diff
View Options
diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c
--- a/usr.sbin/bhyve/bhyverun.c
+++ b/usr.sbin/bhyve/bhyverun.c
@@ -282,10 +282,6 @@
set_config_value("cores", cp + strlen("cores="));
else if (strncmp(cp, "threads=", strlen("threads=")) == 0)
set_config_value("threads", cp + strlen("threads="));
-#ifdef notyet /* Do not expose this until vmm.ko implements it */
- else if (strncmp(cp, "maxcpus=", strlen("maxcpus=")) == 0)
- set_config_value("maxcpus", cp + strlen("maxcpus="));
-#endif
else if (strchr(cp, '=') != NULL)
goto out;
else
@@ -1135,8 +1131,7 @@
exit(4);
}
}
- error = vm_set_topology(ctx, cpu_sockets, cpu_cores, cpu_threads,
- 0 /* maxcpus, unimplemented */);
+ error = vm_set_topology(ctx, cpu_sockets, cpu_cores, cpu_threads, 0);
if (error)
errx(EX_OSERR, "vm_set_topology");
return (ctx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 8, 2:58 PM (57 m, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15723480
Default Alt Text
D37176.diff (872 B)
Attached To
Mode
D37176: bhyve: Remove vestigial support for setting max vCPUs.
Attached
Detach File
Event Timeline
Log In to Comment