Page MenuHomeFreeBSD

D37176.diff
No OneTemporary

D37176.diff

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

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)

Event Timeline