Re: [PATCH V1 07/16] xen/dm: Make x86's DM feature common

2020-09-24 Thread Oleksandr
On 24.09.20 14:03, Jan Beulich wrote: Hi Jan On 22.09.2020 18:46, Oleksandr wrote: On 14.09.20 18:56, Jan Beulich wrote: Hi Jan On 10.09.2020 22:22, Oleksandr Tyshchenko wrote: --- a/xen/include/xen/hypercall.h +++ b/xen/include/xen/hypercall.h @@ -150,6 +150,18 @@ do_dm_op( unsign

Re: [PATCH V1 07/16] xen/dm: Make x86's DM feature common

2020-09-24 Thread Jan Beulich
On 22.09.2020 18:46, Oleksandr wrote: > > On 14.09.20 18:56, Jan Beulich wrote: > Hi Jan > >> On 10.09.2020 22:22, Oleksandr Tyshchenko wrote: >>> --- a/xen/include/xen/hypercall.h >>> +++ b/xen/include/xen/hypercall.h >>> @@ -150,6 +150,18 @@ do_dm_op( >>> unsigned int nr_bufs, >>> X

Re: [PATCH V1 07/16] xen/dm: Make x86's DM feature common

2020-09-23 Thread Oleksandr
On 23.09.20 20:35, Julien Grall wrote: Hi Julien On 10/09/2020 21:22, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko I believe I am the original author of this code. So this needs to be fixed accordingly. Sorry, will fix. -- Regards, Oleksandr Tyshchenko

Re: [PATCH V1 07/16] xen/dm: Make x86's DM feature common

2020-09-23 Thread Julien Grall
On 10/09/2020 21:22, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko I believe I am the original author of this code. So this needs to be fixed accordingly. As a lot of x86 code can be re-used on Arm later on, this patch splits devicemodel support into common and arch specific p

Re: [PATCH V1 07/16] xen/dm: Make x86's DM feature common

2020-09-22 Thread Oleksandr
On 14.09.20 18:56, Jan Beulich wrote: Hi Jan On 10.09.2020 22:22, Oleksandr Tyshchenko wrote: --- a/xen/include/xen/hypercall.h +++ b/xen/include/xen/hypercall.h @@ -150,6 +150,18 @@ do_dm_op( unsigned int nr_bufs, XEN_GUEST_HANDLE_PARAM(xen_dm_op_buf_t) bufs); +struct dmop_arg

Re: [PATCH V1 07/16] xen/dm: Make x86's DM feature common

2020-09-14 Thread Jan Beulich
On 10.09.2020 22:22, Oleksandr Tyshchenko wrote: > --- a/xen/include/xen/hypercall.h > +++ b/xen/include/xen/hypercall.h > @@ -150,6 +150,18 @@ do_dm_op( > unsigned int nr_bufs, > XEN_GUEST_HANDLE_PARAM(xen_dm_op_buf_t) bufs); > > +struct dmop_args { > +domid_t domid; > +unsigne

[PATCH V1 07/16] xen/dm: Make x86's DM feature common

2020-09-10 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko As a lot of x86 code can be re-used on Arm later on, this patch splits devicemodel support into common and arch specific parts. Also update XSM code a bit to let DM op be used on Arm. This support is going to be used on Arm to be able run device emulator outside of Xe