OS-6665: Would like mechanism to determine how many vcpus bhyve supports

Details

Issue Type:New Feature
Priority:4 - Normal
Status:Resolved
Created at:2018-02-22T20:27:44.831Z
Updated at:2019-08-28T23:57:35.887Z

People

Created by:Josh Wilsdon
Reported by:Josh Wilsdon
Assigned to:Former user

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-03-15T19:57:35.256Z)

Fix Versions

2018-03-29 Old Man's House (Release Date: 2018-03-29)

Labels

bhyve

Description

We have support for /usr/lib/brand/bhyve/bhhwcompat to know if the system can support bhyve, but we also have a hardcoded limit in bhyve as to what the maximum number of vcpus is. It would be good if we could expose this to the APIs so we can refuse to create a bhyve VM that cannot boot.

Comments

Comment by Former user
Created at 2018-03-15T19:51:58.022Z

Works as expected

% ./bhhwcompat -c
16

Comment by Jira Bot
Created at 2018-03-15T19:56:58.549Z

illumos-joyent commit 82b4be020e584aa3ec7288d22c6f956ed0a8c31c (branch master, by Jerry Jelinek)

OS-6665 Would like mechanism to determine how many vcpus bhyve supports
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Mike Gerdts <mike.gerdts@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>