OS-6670: bhyve instances need to be cleaned up on zone halt

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-03-01T23:19:03.027Z)

Fix Versions

2018-03-15 Nibelheim (Release Date: 2018-03-15)

Related Issues

Related Links

Description

As a zone's vplat is destroyed, we need to take care not to leave behind orphaned bhyve instances. A reasonable way to accomplish this for vmm to use zone-specific data (zsd) to keep a mapping of zones to VMs. As the zone is halted, the zsd callbacks will handle the VM destruction.

Comments

Comment by Jira Bot
Created at 2018-03-01T23:15:04.422Z
illumos-joyent commit 17d35cc662a4fc13809703a0ce96563d895743d0 (branch master, by Mike Gerdts)

OS-6668 need preliminary sdev plugin for vmm
OS-6401 vmm should present zone-aware sdev instances
OS-6670 bhyve instances need to be cleaned up on zone halt
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>