Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147403851
D34492.id103653.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
427 B
Referenced Files
None
Subscribers
None
D34492.id103653.diff
View Options
Index: usr.sbin/bhyve/bhyverun.c
===================================================================
--- usr.sbin/bhyve/bhyverun.c
+++ 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
Wed, Mar 11, 5:11 PM (5 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29544821
Default Alt Text
D34492.id103653.diff (427 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