On Thu, Oct 5, 2017 at 12:07 PM, Oleksandr Grytsov <al1...@gmail.com> wrote:

> From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
>
> Currently vkb device is the part of FB and console.
> In embedded application we use vkb protocol to communicate
> with user space backend. For this purpose we need to have
> possibility to enable vkb device without QEMU, FB etc.
>
> This particular issue was already discussed int the mail
> thread [1]. There were few possible solutions. We've implemented
> one suggested by Stefano: add "type" field for vkb.
> Each backend (QEMU or user space) shall read this field and
> serve frontend only for own type. I will provide the patch
> for QEMU backend, once this solution is submitted to libxl.
>
> This patchset consist of following changes:
>
> * vkb related code is moved to libxl_vkb.c - as it now
>   used not only by console and FB;
> * add backend type support in order to support QEMU and
>   user space backends;
> * add getting vkb list and getting device by id in order
>   to implement CLI commands to attach, detach and list
>   vkb devices;
> * add new vkb entry in xl.cfg to handle separate vkb
>   configuration;
> * add CLI vkb-attach, vkb-detach and vkb-list commands;
> * update documentation accordingly.
>
> [1] https://marc.info/?l=qemu-devel&m=149219237030212&w=2
>
> Oleksandr Grytsov (6):
>   libxl: move vkb device to libxl_vkb.c
>   libxl: fix vkb XS entry and type
>   libxl: add backend type to vkb
>   libxl: vkb add list and info functions
>   xl: add vkb config parser and CLI
>   docs: add vkb device to xl.cfg and xl
>
>  docs/man/xl.cfg.pod.5.in    |  24 ++++++
>  docs/man/xl.pod.1.in        |  22 ++++++
>  tools/libxl/Makefile        |   1 +
>  tools/libxl/libxl.h         |  10 +++
>  tools/libxl/libxl_console.c |  53 -------------
>  tools/libxl/libxl_create.c  |   4 +
>  tools/libxl/libxl_dm.c      |   2 +
>  tools/libxl/libxl_types.idl |  18 +++++s
>  tools/libxl/libxl_utils.h   |   3 +
>  tools/libxl/libxl_vkb.c     | 180 ++++++++++++++++++++++++++++++
> ++++++++++++++
>  tools/xl/Makefile           |   2 +-
>  tools/xl/xl.h               |   3 +
>  tools/xl/xl_cmdtable.c      |  15 ++++
>  tools/xl/xl_parse.c         |  77 ++++++++++++++++++-
>  tools/xl/xl_parse.h         |   2 +-
>  tools/xl/xl_vkb.c           | 141 ++++++++++++++++++++++++++++++++++
>  16 files changed, 501 insertions(+), 56 deletions(-)
>  create mode 100644 tools/libxl/libxl_vkb.c
>  create mode 100644 tools/xl/xl_vkb.c
>
> --
> 2.7.4
>
>
ping

-- 
Best Regards,
Oleksandr Grytsov.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to