lman
> > %2
> > >>>
> > Flistinfo%2Fxen-devel__%3B!K6dmGCEab4ueJg!iTeJON61Y2nUcGMQr_y7-27
> > bR_
> > >>>
> > QlOG8gXqvRMaU8yy8nJuDhzWizylvl_6stD-ILOQ%24data=02%7C01%7
> > Cpeng.
> > >>>
> > fan%40nxp.com%7Ca
From: Oleksandr Grytsov
There are two kind of VKBD devices: with QEMU backend and user space PV
backend. In current implementation they can't be distinguished as both use
VKBD backend type. As result, user space PV KBD backend is started and
stopped as QEMU backend. This commit adds new device
From: Oleksandr Grytsov
Adding/removing device is handled for specific devices only: VBD, VIF,
QDISK. This commit adds default case to handle adding/removing for all PV
devices by default, except QDISK device, which requires special handling.
If any other device is required a special handling
From: Oleksandr Grytsov
Changes since v1:
* add commit to rename VKB backend type "linux" to "pv";
* add default case to handle adding/removing PV devices in add_device,
remove_device functions (libxl_device.c);
* add comment about removing num_vifs, num_vbds into commit
From: Oleksandr Grytsov
There are two kind of VKB backends: QEMU and user space PV backend.
For PV backend "linux" enum is used but this name is confused. Rename
"linux" enum to "pv" as it better matches user space PV backend.
Signed-off-by: Oleksandr Grytsov
end type VINPUT
> of which I am awaiting a respin from Oleksandr Grytsov (in the To).
>
> There is a new defect in the 4.13 API, where a particular enum has the
> value `linux' for a non-Linux-specific protocol. I'm wanting to
> change it and I think we have agreed a name chang
On Mon, Nov 18, 2019 at 7:55 PM Ian Jackson wrote:
>
> Oleksandr Grytsov writes ("[PATCH v1 1/2] libxl: introduce new backend type
> VINPUT"):
> > From: Oleksandr Grytsov
> >
> > There are two kind of VKBD devices: with QEMU backend and user space
&
On Fri, Nov 15, 2019 at 9:43 PM Ian Jackson wrote:
>
> Oleksandr Grytsov writes ("Re: [PATCH v1 1/2] libxl: introduce new backend
> type VINPUT"):
> > 1. Move QEMU_BACKEND macro to libxl__device_type structure as function
> > and let the device to decide it h
On Mon, Oct 28, 2019 at 4:06 PM Oleksandr Grytsov wrote:
>
> On Wed, Oct 16, 2019 at 4:26 PM Oleksandr Grytsov wrote:
> >
> > On Fri, Oct 11, 2019 at 8:04 PM Ian Jackson wrote:
> > >
> > > Oleksandr Grytsov writes ("Re: [PATCH v1 1/2] libxl:
From: Oleksandr Grytsov
There are two old threads in which this issues was addresses ([1], [2]) but
the root cause wasn't defined. The real root cause is that when libxl creates
json file it doesn't put entries for fields with default value (which is
correct). Then during parsing json back
From: Oleksandr Grytsov
Add initialization of array elements in parse json function.
Currently, array elements are initialized with calloc. Which means
initialize all element fields with zero values. If entries are missed in
json for such fields, it will be equal to zero instead of default
On Wed, Oct 16, 2019 at 4:26 PM Oleksandr Grytsov wrote:
>
> On Fri, Oct 11, 2019 at 8:04 PM Ian Jackson wrote:
> >
> > Oleksandr Grytsov writes ("Re: [PATCH v1 1/2] libxl: introduce new backend
> > type VINPUT"):
> > > On Fri, Oct 11, 2019 at 5:58 PM
On Tue, Oct 22, 2019 at 9:14 PM Julien Grall wrote:
>
> Hi Oleksandr,
>
> Apologies for the late answer.
>
> On 16/10/2019 14:09, Oleksandr Grytsov wrote:
> > On Mon, Oct 14, 2019 at 12:28 PM Julien Grall wrote:
> > Thanks to point me out for this old thread. I com
On Wed, Oct 16, 2019 at 5:12 PM Julien Grall wrote:
>
> Hi Oleksandr,
>
> On 16/10/2019 15:04, Oleksandr Grytsov wrote:
> > On Fri, Oct 11, 2019 at 8:21 PM Stefano Stabellini
> > wrote:
> >>
> >> On Fri, 11 Oct 2019, Julien Grall wrote:
> >>
On Fri, Oct 11, 2019 at 8:21 PM Stefano Stabellini
wrote:
>
> On Fri, 11 Oct 2019, Julien Grall wrote:
> > Hi,
> >
> > On 11/10/2019 16:23, Ian Jackson wrote:
> > > Oleksandr Grytsov writes ("[PATCH v1] libxl: Add DTB compatible list to
> > >
On Fri, Oct 11, 2019 at 8:04 PM Ian Jackson wrote:
>
> Oleksandr Grytsov writes ("Re: [PATCH v1 1/2] libxl: introduce new backend
> type VINPUT"):
> > On Fri, Oct 11, 2019 at 5:58 PM Ian Jackson wrote:
> > > I think it was a48e00f14a2d "libxl: add
On Mon, Oct 14, 2019 at 12:28 PM Julien Grall wrote:
>
> Hi Ian,
>
> On 11/10/2019 16:14, Ian Jackson wrote:
> > Oleksandr Grytsov writes ("[PATCH v1] Reset iomem's gfn to
> > LIBXL_INVALID_GFN on reboot"):
> >> During domain reboot its configuration
ange?
> >
> > No, I don't think so. Those variables just tell us when the thing is
> > torn down but Oleksandr's code is able to use the devices slist itself
> > for that. Please do check to see if you agree.
>
> Yes, that's fine. I don't think those changes are wrong, I
On Fri, Oct 11, 2019 at 5:58 PM Ian Jackson wrote:
>
> Oleksandr Grytsov writes ("[PATCH v1 1/2] libxl: introduce new backend type
> VINPUT"):
> > From: Oleksandr Grytsov
> >
> > There are two kind of VKBD devices: with QEMU backend and user space
&
From: Oleksandr Grytsov
Some platforms need more compatible property values in device
tree root node in addition to "xen,xenvm-%d.%d" and "xen,xenvm"
values that are given by Xen by default.
Specify in domain configuration file which values should be added
by providing &
From: Oleksandr Andrushchenko
During domain reboot its configuration is partially reused
to re-create a new domain, but iomem's GFN field for the
iomem is only restored for those memory ranges, which are
configured in form of [IOMEM_START,NUM_PAGES[@GFN], but not for
those in form of
From: Oleksandr Grytsov
Currently backend path is remove for specific devices: VBD, VIF, QDISK.
This commit adds removing backend path for: VDISPL, VSND, VINPUT.
Signed-off-by: Oleksandr Grytsov
---
tools/libxl/libxl_device.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions
From: Oleksandr Grytsov
There are two kind of VKBD devices: with QEMU backend and user space
backend. In current implementation they can't be distinguished as both use
VKBD backend type. As result, user space KBD backend is started and
stopped as QEMU backend. This commit adds new device kind
From: Oleksandr Grytsov
We have added VKBD device with user space PV backend. But libxl can't
differentiate domain kind for this device. As result, it performs QEMU procedure
for adding and removing VKB device with user space backend. To fix this issue,
new device kind VINPUT is introduced
On Mon, Feb 26, 2018 at 12:14 PM Oleksandr Grytsov wrote:
>
> On Fri, Feb 23, 2018 at 7:44 PM, Wei Liu wrote:
>>
>> On Tue, Feb 13, 2018 at 03:32:04PM +0200, Oleksandr Grytsov wrote:
>> > On Tue, Feb 13, 2018 at 2:06 PM, Wei Liu wrote:
>> >
>> &g
From: Oleksandr Grytsov
New field backend_type is added to vkb device in order to have QEMU and user
space backend simultaneously. Each vkb backend shall read appropriate XS entry
and service only own frontends. Id is a string field which used by the backend
to indentify the frontend.
Signed
From: Oleksandr Grytsov
Logically it is better to move vkb to separate file as vkb device used not only
by vfb and console.
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/libxl/Makefile| 2 +-
tools/libxl/libxl_console.c | 53 -
tools
From: Oleksandr Grytsov
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/libxl/libxl.h | 10 +++
tools/libxl/libxl_types.idl | 11
tools/libxl/libxl_utils.h | 3 +
tools/libxl/libxl_vkb.c | 127 +++-
4 files changed, 149
From: Oleksandr Grytsov
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
docs/man/xl.cfg.pod.5.in | 24
docs/man/xl.pod.1.in | 22 ++
2 files changed, 46 insertions(+)
diff --git a/docs/man/xl.cfg.pod.5.in b/docs/man/xl.cfg.pod.5
From: Oleksandr Grytsov
LIBXL_HAVE_EXTENDED_VKB define indicates that libxl_device_vkb structure has
extended fields.
Signed-off-by: Oleksandr Grytsov
---
tools/libxl/libxl.h | 16
1 file changed, 16 insertions(+)
diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
index
From: Oleksandr Grytsov
Add parsing and adding to xen store following extended parameters:
* feature-disable-keyboard
* feature-disable-pointer
* feature-abs-pointer
* feature-multi-touch
* feature-raw-pointer
* width
* height
* multi-touch-width
* multi-touch-height
* multi-touch-num-contacts
From: Oleksandr Grytsov
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/xl/Makefile | 2 +-
tools/xl/xl.h | 3 +
tools/xl/xl_cmdtable.c | 16 +
tools/xl/xl_parse.c| 76 -
tools/xl/xl_parse.h| 1 +
tools/xl/xl_vkb.c | 147
From: Oleksandr Grytsov
Changes since v2:
* fix indentation in libxl__device_vkb_dm_needed
* add LIBXL_HAVE_EXTENDED_VKB define to indicates that libxl__device_vkb
has extended fields
Oleksandr Grytsov (7):
libxl: move vkb device to libxl_vkb.c
libxl: add backend type and id to vkb
On Tue, Jun 12, 2018 at 4:31 PM, Oleksandr Grytsov wrote:
> From: Oleksandr Grytsov
>
> Changes since initial:
> * id field is changed to unique_id in libxl_device_vkb to be comply
>with protocol;
> * use XENKBD_FIELD_... defines from protocol to address xen store entri
On Tue, Jun 12, 2018 at 6:40 PM, Oleksandr Grytsov wrote:
> From: Oleksandr Grytsov
>
> As new version of the display protocol introduces unique-id variable, it
> needs
> to be changed in libxl/xl. This patchset renames it in the xen store and in
> display device struct
On Fri, Jun 15, 2018 at 1:15 PM, Oleksandr Grytsov wrote:
> From: Oleksandr Grytsov
>
> This patch set adds PV sound device support to xl.cfg and xl.
> See sndif.h for protocol implementation details.
>
> Changes since v2:
> * address comments
> * ren
From: Oleksandr Grytsov
Add PV sound device described in sndif.h
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/libxl/Makefile | 2 +-
tools/libxl/libxl.h | 14 ++
tools/libxl/libxl_create.c | 1 +
tools/libxl/libxl_internal.h
From: Oleksandr Grytsov
Update documentation with virtual sound device
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
docs/man/xl.cfg.pod.5.in | 149 +++
docs/man/xl.pod.1.in | 30
2 files changed, 179 insertions(+)
diff --git a/docs
From: Oleksandr Grytsov
Add CLI commands to attach, detach and list virtual sound devices
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/xl/Makefile | 2 +-
tools/xl/xl.h | 3 +
tools/xl/xl_cmdtable.c | 15 +++
tools/xl/xl_vsnd.c | 206
From: Oleksandr Grytsov
Add config parser for virtual sound devices
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/xl/xl_parse.c | 246
tools/xl/xl_parse.h | 1 +
2 files changed, 247 insertions(+)
diff --git a/tools/xl/xl_parse.c
From: Oleksandr Grytsov
This patch set adds PV sound device support to xl.cfg and xl.
See sndif.h for protocol implementation details.
Changes since v2:
* address comments
* rename libxl_vsnd_stream.id -> libxl_vsnd_stream.unique_id
* use XENSND_FIELD_... defines in xl_parse.c and xl_vsn
From: Oleksandr Grytsov
In the display protocol connector's id is named as unique-id. This patch renames
it in the libxl/xl code and uses XENDISPL_FIELD... definitions from the protocol
header.
Signed-off-by: Oleksandr Grytsov
---
docs/man/xl.cfg.pod.5.in| 2 +-
tools/libxl
From: Oleksandr Grytsov
Add parsing and adding to xen store following extended parameters:
* feature-disable-keyboard
* feature-disable-pointer
* feature-abs-pointer
* feature-multi-touch
* feature-raw-pointer
* width
* height
* multi-touch-width
* multi-touch-height
* multi-touch-num-contacts
From: Oleksandr Grytsov
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/libxl/libxl.h | 10 +++
tools/libxl/libxl_types.idl | 11
tools/libxl/libxl_utils.h | 3 +
tools/libxl/libxl_vkb.c | 127 +++-
4 files changed, 149
From: Oleksandr Grytsov
Changes since initial:
* id field is changed to unique_id in libxl_device_vkb to be comply
with protocol;
* use XENKBD_FIELD_... defines from protocol to address xen store entries
and fields in domain config file;
* add support of new protocol parameters
From: Oleksandr Grytsov
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/xl/Makefile | 2 +-
tools/xl/xl.h | 3 +
tools/xl/xl_cmdtable.c | 16 +
tools/xl/xl_parse.c| 76 -
tools/xl/xl_parse.h| 2 +-
tools/xl/xl_vkb.c | 147
From: Oleksandr Grytsov
Logically it is better to move vkb to
separate file as vkb device used not only by vfb
and console.
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
tools/libxl/Makefile| 2 +-
tools/libxl/libxl_console.c | 53 -
tools
From: Oleksandr Grytsov
Signed-off-by: Oleksandr Grytsov
Acked-by: Wei Liu
---
docs/man/xl.cfg.pod.5.in | 24
docs/man/xl.pod.1.in | 22 ++
2 files changed, 46 insertions(+)
diff --git a/docs/man/xl.cfg.pod.5.in b/docs/man/xl.cfg.pod.5
From: Oleksandr Grytsov
New field backend_type is added to vkb device
in order to have QEMU and user space backend
simultaneously. Each vkb backend shall read
appropriate XS entry and service only own
frontends.
Id is a string field which used by the backend
to indentify the frontend.
Signed
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Add config parser for virtual sound devices
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/xl/xl_parse.c | 246
t
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Add CLI commands to attach, detach and list virtual sound devices
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/xl/Makefile | 2 +-
tools/xl/xl.h
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Add getting vsnd list amd info API
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
---
tools/libxl/libxl.h | 10 +
tools/libxl/libxl_types.idl | 19 ++
tools/libxl/libxl_utils.h | 3 +
tools/libxl/
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Update documentation with virtual sound device
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
docs/man/xl.cfg.pod.5.in | 149 +++
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Add PV sound device described in sndif.h
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/libxl/Makefile | 2 +-
tools/libxl/libxl.h
gt;
> > Signed-off-by: Doug Goldstein <car...@cardoe.com>
> > ---
> > CC: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
> > ---
> > tools/xl/xl_vdispl.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Please trim your Cc list -
On Fri, Feb 23, 2018 at 7:44 PM, Wei Liu <wei.l...@citrix.com> wrote:
> On Tue, Feb 13, 2018 at 03:32:04PM +0200, Oleksandr Grytsov wrote:
> > On Tue, Feb 13, 2018 at 2:06 PM, Wei Liu <wei.l...@citrix.com> wrote:
> >
> > > On Tue, Feb 06, 2018 at 03:08
On Tue, Feb 13, 2018 at 2:06 PM, Wei Liu <wei.l...@citrix.com> wrote:
> On Tue, Feb 06, 2018 at 03:08:45PM +0200, Oleksandr Grytsov wrote:
> > On Tue, Feb 6, 2018 at 2:36 PM, Wei Liu <wei.l...@citrix.com> wrote:
> >
> > > On Thu, Dec 14, 2017 at 04:14
On Tue, Feb 6, 2018 at 4:43 PM, Wei Liu <wei.l...@citrix.com> wrote:
> On Wed, Nov 01, 2017 at 05:04:44PM +0200, Oleksandr Grytsov wrote:
> > From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
> >
> > Add getting vsnd list amd info API
> >
> > Sig
On Tue, Feb 6, 2018 at 4:25 PM, Wei Liu <wei.l...@citrix.com> wrote:
> On Wed, Nov 01, 2017 at 05:05:04PM +0200, Oleksandr Grytsov wrote:
> > From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
> >
> > New field backend_type is added to vkb device
> > in or
On Tue, Feb 6, 2018 at 2:36 PM, Wei Liu <wei.l...@citrix.com> wrote:
> On Thu, Dec 14, 2017 at 04:14:12PM +0200, Oleksandr Grytsov wrote:
> > From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
> >
> > We have following arm-based setup:
> >
> &
On Tue, Jan 9, 2018 at 1:30 PM, Oleksandr Grytsov <al1...@gmail.com> wrote:
> On Mon, Nov 20, 2017 at 3:44 PM, Oleksandr Grytsov <al1...@gmail.com>
> wrote:
>
>> On Tue, Nov 14, 2017 at 2:38 PM, Oleksandr Grytsov <al1...@gmail.com>
>> wrote:
>>
On Tue, Jan 9, 2018 at 1:31 PM, Oleksandr Grytsov <al1...@gmail.com> wrote:
>
>
> On Mon, Nov 20, 2017 at 3:44 PM, Oleksandr Grytsov <al1...@gmail.com>
> wrote:
>
>> On Tue, Nov 14, 2017 at 2:39 PM, Oleksandr Grytsov <al1...@gmail.com>
>> wrote:
>
On Tue, Jan 9, 2018 at 1:34 PM, Oleksandr Grytsov <al1...@gmail.com> wrote:
> On Thu, Dec 14, 2017 at 4:14 PM, Oleksandr Grytsov <al1...@gmail.com>
> wrote:
>
>> From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
>>
>> We have following arm-bas
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Use libxl__..._devtype.type to update device id.
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/libxl/libxl_9pfs.c | 2 +-
tools/libxl/libxl_console.c
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
On adding to XS name of device is taken from
libxl__device_kind enum. On getting device from XS
the name is hardcoded. It leads to potential
mistmatch errors. The patch is using libxl__device_kind
everywere to have one source of devic
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/libxl/libxl_internal.h | 38 ++
tools/libxl/libxl_nic.c | 22 +--
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
LIBXL_DEFINE_DEVICE_FROM_TYPE uses libxl__..._devtype.type to
be assigned as device and backend type.
Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Acked-by: Wei Liu <wei.l...@citrix.com>
---
tools/libxl/lib
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
Changes since initial version:
* add libxl__domain_device_..._path functions to get backend, frontend,
libxl device path's from device type, domain id and device id
* rebase
Oleksandr Grytsov (4):
libxl: use libxl__device_kind
On Thu, Dec 14, 2017 at 4:14 PM, Oleksandr Grytsov <al1...@gmail.com> wrote:
> From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
>
> We have following arm-based setup:
>
> - Dom0 with xen and xen tools;
> - Dom1 with device backends (but it is not the driver
On Mon, Nov 20, 2017 at 3:44 PM, Oleksandr Grytsov <al1...@gmail.com> wrote:
> On Tue, Nov 14, 2017 at 2:39 PM, Oleksandr Grytsov <al1...@gmail.com>
> wrote:
>
>> On Wed, Nov 1, 2017 at 5:05 PM, Oleksandr Grytsov <al1...@gmail.com>
>> wrote:
>>
On Mon, Nov 20, 2017 at 3:44 PM, Oleksandr Grytsov <al1...@gmail.com> wrote:
> On Tue, Nov 14, 2017 at 2:38 PM, Oleksandr Grytsov <al1...@gmail.com>
> wrote:
>
>> On Wed, Nov 1, 2017 at 5:04 PM, Oleksandr Grytsov <al1...@gmail.com>
>> wrote:
>>
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
libxl__is_driver_domain determines the driver domain by
presence of libxl entry in the domain xen store. Use
this function on device destroy to properly manage cleanup
in case backends are located on domain with non zero id.
Sign
From: Oleksandr Grytsov <oleksandr_gryt...@epam.com>
We have following arm-based setup:
- Dom0 with xen and xen tools;
- Dom1 with device backends (but it is not the driver domain);
- Dom2 with device frontend;
On Dom2 destroying we have timeout error. Because xl treats our
Dom1 as
73 matches
Mail list logo