Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108677989
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, Jan 28, 6:20 AM (4 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16255207
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