Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160232639
D34492.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
398 B
Referenced Files
None
Subscribers
None
D34492.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
@@ -393,9 +393,8 @@
return (-1);
}
- if (vcpu < 0 || vcpu >= VM_MAXCPU) {
- fprintf(stderr, "vcpu '%d' outside valid range from 0 to %d\n",
- vcpu, VM_MAXCPU - 1);
+ if (vcpu < 0) {
+ fprintf(stderr, "invalid vcpu '%d'\n", vcpu);
return (-1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 23, 10:27 AM (7 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34240927
Default Alt Text
D34492.diff (398 B)
Attached To
Mode
D34492: bhyve: Don't force an upper bound on vCPUs when parsing pinning.
Attached
Detach File
Event Timeline
Log In to Comment