Page MenuHomeFreeBSD

D34492.diff
No OneTemporary

D34492.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
@@ -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

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)

Event Timeline