OS-7080: bhyve and KVM should coexist in peace

Details

Issue Type:Improvement
Priority:4 - Normal
Status:Resolved
Created at:2018-07-16T21:50:52.375Z
Updated at:2018-09-21T16:50:10.648Z

People

Created by:Patrick Mooney [X]
Reported by:Patrick Mooney [X]
Assigned to:Patrick Mooney [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-08-21T19:11:48.016Z)

Fix Versions

2018-08-30 Zolom Swamp (Release Date: 2018-08-30)

Related Issues

Related Links

Labels

bhyve

Description

With the merge of OS-6400, KVM and bhyve could be shipped together on the same system, but only one may run at any given time. The API should be expanded so that both hypervisors can run simultaneously on the same system.

Comments

Comment by Patrick Mooney [X]
Created at 2018-08-21T17:42:56.410Z

To test this, I booted up a CN on the modified PI with both bhyve and KVM instances configured. A key detail in this testing was configuring both instance types to autoboot and then rebooting the node. The simultaneous start-up of both types helped uncover OS-7126. With both instance types running, I would login to both and run CPU and interrupt-heavy workloads to put them under stress. I did the same under DEBUG bits.


Comment by Jira Bot
Created at 2018-08-21T18:59:57.115Z

illumos-joyent commit befffd577ca6c3a090d7d3c72d267a383c3a3c45 (branch master, by Patrick Mooney)

OS-7080 bhyve and KVM should coexist in peace
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: John Levon <john.levon@joyent.com>


Comment by Jira Bot
Created at 2018-08-21T19:00:15.181Z

illumos-kvm commit 08e1d7f3a86f3f4f8d6e6aea59a0b4074b31c735 (branch master, by Patrick Mooney)

OS-7080 bhyve and KVM should coexist in peace
OS-7126 KVM queries host MSRs dangerously
OS-7154 kvm lacks preempt protection for installctx
OS-7155 KVM uses wrong cpu ID
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: John Levon <john.levon@joyent.com>