libxl: create standalone vkb device
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libxl: move vkb device to libxl_vkb.ctools/ tools/ tools/ | +73 | 1 reply | |
| 2/6 | libxl: fix vkb XS entry and typetools/ | +2 | 4 replies | |
| 3/6 | libxl: add backend type to vkbtools/ tools/ tools/ +2 more | +26 | 2 replies | |
| 4/6 | libxl: vkb add list and info functionstools/ tools/ tools/ +1 more | +127 | 0 replies | |
| 5/6 | xl: add vkb config parser and CLItools/ tools/ tools/ +3 more | +235 | 0 replies | |
| 6/6 | docs: add vkb device to xl.cfg and xldocs/ docs/ | +46 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Wei Liu |
|---|---|
| 1/6 | A-b |
| 2/6 | A-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] libxl: create standalone vkb device
From: Oleksandr Grytsov <[email protected]>
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
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel