From: Oleksandr Grytsov <al1img@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: ian.jackson@eu.citrix.com, wei.liu2@citrix.com,
Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Subject: [PATCH 0/6] libxl: create standalone vkb device
Date: Thu, 5 Oct 2017 12:07:05 +0300 [thread overview]
Message-ID: <1507194431-17588-1-git-send-email-al1img@gmail.com> (raw)
From: Oleksandr Grytsov <oleksandr_grytsov@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
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next reply other threads:[~2017-10-05 9:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 9:07 Oleksandr Grytsov [this message]
2017-10-05 9:07 ` [PATCH 1/6] libxl: move vkb device to libxl_vkb.c Oleksandr Grytsov
2017-10-30 18:05 ` Wei Liu
2017-10-05 9:07 ` [PATCH 2/6] libxl: fix vkb XS entry and type Oleksandr Grytsov
2017-10-05 9:32 ` Wei Liu
2017-10-05 9:49 ` Oleksandr Grytsov
2017-10-05 9:54 ` Oleksandr Grytsov
2017-10-30 18:05 ` Wei Liu
2017-10-05 9:07 ` [PATCH 3/6] libxl: add backend type to vkb Oleksandr Grytsov
2017-10-30 18:11 ` Wei Liu
2017-10-31 11:01 ` Oleksandr Grytsov
2017-10-05 9:07 ` [PATCH 4/6] libxl: vkb add list and info functions Oleksandr Grytsov
2017-10-05 9:07 ` [PATCH 5/6] xl: add vkb config parser and CLI Oleksandr Grytsov
2017-10-05 9:07 ` [PATCH 6/6] docs: add vkb device to xl.cfg and xl Oleksandr Grytsov
2017-10-24 7:40 ` [PATCH 0/6] libxl: create standalone vkb device Oleksandr Grytsov
2017-10-30 12:36 ` Oleksandr Grytsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1507194431-17588-1-git-send-email-al1img@gmail.com \
--to=al1img@gmail.com \
--cc=ian.jackson@eu.citrix.com \
--cc=oleksandr_grytsov@epam.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).