
On Mon, Jun 19, 2017 at 04:48:13PM +0400, Roman Bogorodskiy wrote:
Add support for vgaconf driver configuration. In domain xml it looks like this:
<video> <driver vgaconf='io|on|off'> <model .../> </video>
It was added with bhyve gop video in mind to allow users control how the video device is exposed to the guest, specifically, how VGA I/O is handled.
One can refer to the bhyve manual page to get more detailed description of the possible VGA configuration options:
https://www.freebsd.org/cgi/man.cgi?query=bhyve&manpath=FreeBSD+12-current
The relevant part could be found using the 'vgaconf' keyword.
Also, add some tests for this new feature.
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> --- Changes from v1:
* Rebased on top of current master. Specifically, the most important bit was merging with f5384fb4 which has added video/driver element * In conjunction with f5384fb4 use video/driver element instead of video/model/driver * Squash in conf and bhyve patches to make it easier to understand how it's used * Rename *Vgaconf* to *VGAConf* * Add a little more tests
docs/schemas/domaincommon.rng | 13 ++++-
^^ Changes to the XML should be described in docs/formatdomain.html.in as well