|Priority:||4 - Normal|
|Created by:||Hans Rosenfeld [X]|
|Reported by:||Hans Rosenfeld [X]|
|Assigned to:||Hans Rosenfeld [X]|
Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-12-20T13:17:18.024Z)
2019-01-03 Interweb (Release Date: 2019-01-03)
To make it easier for native software to interface to bhyve VMs it would be nice to have a native libvmm. This way it wouldn't be necessary to include FreeBSD compat/contrib header files and link against libvmmapi, thereby avoiding any potential for naming conflicts or other incompatibilities.
Testing: This was really only tested by using the mdb bhyve target. Opening, closing and reopening a VM works. Mapping, unmapping, reading, and writing guest physical memory works. Register access works as intended, I verified that with bhyvectl. The memory translation code was only tested in long mode, 32bit protected mode and real mode, but not in 32bit PAE mode. Control of the VM for stopping/continuing execution of all vCPUs and single-stepping a single vCPU (while the rest are stopped) were also tested.
illumos-joyent commit 7acaa8e37be75212e7823e35fc1b9a4cc61f601b (branch master, by Hans Rosenfeld)
OS-7408 want native libvmm
Reviewed by: John Levon <firstname.lastname@example.org>
Reviewed by: Patrick Mooney <email@example.com>
Approved by: John Levon <firstname.lastname@example.org>
illumos-joyent commit e0a1542b9fb6790bdf5bc4c630fef30bc29afca4 (branch master, by Hans Rosenfeld)
OS-7408 want native libvmm (fix deps)