Page MenuHomeFreeBSD

D53420.id165257.diff
No OneTemporary

D53420.id165257.diff

diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c
--- a/sys/amd64/vmm/vmm.c
+++ b/sys/amd64/vmm/vmm.c
@@ -573,12 +573,6 @@
sx_unlock(&vm->vcpus_init_lock);
}
-/*
- * The default CPU topology is a single thread per package.
- */
-u_int cores_per_package = 1;
-u_int threads_per_core = 1;
-
int
vm_create(const char *name, struct vm **retvm)
{
@@ -609,8 +603,8 @@
M_ZERO);
vm->sockets = 1;
- vm->cores = cores_per_package; /* XXX backwards compatibility */
- vm->threads = threads_per_core; /* XXX backwards compatibility */
+ vm->cores = 1; /* XXX backwards compatibility */
+ vm->threads = 1; /* XXX backwards compatibility */
vm->maxcpus = vm_maxcpu;
vm_init(vm, true);

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 29, 10:08 PM (12 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30557784
Default Alt Text
D53420.id165257.diff (702 B)

Event Timeline