[libvirt] [PATCH 5/6] bhyve: add video support

Michal Privoznik mprivozn at redhat.com
Wed Mar 8 17:20:00 UTC 2017


On 02/12/2017 04:12 PM, Roman Bogorodskiy wrote:
> From: Fabian Freyer <fabian.freyer at physik.tu-berlin.de>
> 
> bhyve supports 'gop' video device that allows clients to connect
> to VMs using VNC clients. This commit adds support for that to
> the bhyve driver:
> 
>  - Introducr 'gop' video device type
>  - Add capabilities probing for the 'fbuf' device that's
>    responsible for graphics
>  - Update command builder routines to let users configure
>    domain's VNC via gop graphics.
> 
> Signed-off-by: Roman Bogorodskiy <bogorodskiy at gmail.com>
> ---
>  docs/formatdomain.html.in           |   3 +-
>  docs/schemas/domaincommon.rng       |   1 +
>  po/POTFILES.in                      |   1 +
>  src/bhyve/bhyve_capabilities.c      |  40 +++++++++++++++
>  src/bhyve/bhyve_capabilities.h      |   1 +
>  src/bhyve/bhyve_command.c           | 100 ++++++++++++++++++++++++++++++++++++
>  src/bhyve/bhyve_device.c            |  11 ++++
>  src/conf/domain_conf.c              |   5 +-
>  src/conf/domain_conf.h              |   1 +
>  src/qemu/qemu_command.c             |   9 ++--
>  src/qemu/qemu_domain_address.c      |   1 +
>  tests/domaincapsschemadata/full.xml |   1 +
>  12 files changed, 169 insertions(+), 5 deletions(-)
> 
> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index 0a115f5dc..b853a7245 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -5812,8 +5812,9 @@ qemu-kvm -net nic,model=? /dev/null
>          <p>
>            The <code>model</code> element has a mandatory <code>type</code>
>            attribute which takes the value "vga", "cirrus", "vmvga", "xen",
> -          "vbox", "qxl" (<span class="since">since 0.8.6</span>) or
> +          "vbox", "qxl" (<span class="since">since 0.8.6</span>),
>            "virtio" (<span class="since">since 1.3.0</span>)
> +          or "gop" (<span class="since">since 3.1.0</span>)

since 3.2.0 actually :-)

>            depending on the hypervisor features available.
>          </p>
>          <p>

ACK

Michal




More information about the libvir-list mailing list