Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-11-02 Thread Wei Liu
On Thu, Nov 01, 2018 at 09:49:13PM +, Julien Grall wrote: > (+ Wei) > > On 11/1/18 9:15 AM, Omkar Bolla wrote: > > Hi, > > > > > May I ask why you need the dependency on the rootfs? > > > > I am trying to pass-through the display to guest domain. to do through > > driver needs clocks. I have

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-11-01 Thread Omkar Bolla
Hi, > > > I am trying to pass-through the display to guest domain. to do through > > driver needs clocks. I have written simple basic clock pv frontend and > > backend. > > So I thought these clocks must be initialised before display driver > > initialisation. > > The graphic driver should request

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-11-01 Thread Julien Grall
(+ Wei) On 11/1/18 9:15 AM, Omkar Bolla wrote: Hi, May I ask why you need the dependency on the rootfs? I am trying to pass-through the display to guest domain. to do through driver needs clocks. I have written simple basic clock pv frontend and backend. So I thought these clocks must be i

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-11-01 Thread Omkar Bolla
Hi, > May I ask why you need the dependency on the rootfs? I am trying to pass-through the display to guest domain. to do through driver needs clocks. I have written simple basic clock pv frontend and backend. So I thought these clocks must be initialised before display driver initialisation. Bu

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-10-31 Thread Julien Grall
On 10/17/18 1:24 PM, Omkar Bolla wrote: Hi, Hi Omkar, I have started finding which patch introduced Armv8 Secondary CPUs issue. I just want to start PV vdevb before domainU debian rootfs mount. Is it possible? May I ask why you need the dependency on the rootfs? Cheers, -- Julien Gral

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-10-17 Thread Omkar Bolla
Hi, I have started finding which patch introduced Armv8 Secondary CPUs issue. I just want to start PV vdevb before domainU debian rootfs mount. Is it possible? Thanks, Omkar B On Mon, Oct 8, 2018 at 4:00 PM Julien Grall wrote: > > > On 08/10/2018 10:12, Omkar Bolla wrote: > > Hi, > > Hi, > >

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-10-08 Thread Julien Grall
On 08/10/2018 10:12, Omkar Bolla wrote: Hi, Hi, This is also okay, but problem here is I am using 4.8 stable  xen because it  is working on Hkey960(ArmV8) This is because you can't bring up secondary CPUs on the Hikey with Xen 4.11 [1], right? It would be nice to find where the bug was i

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-10-08 Thread Omkar Bolla
Hi, Sorry for late response, On Wed, Oct 3, 2018 at 3:23 PM Julien Grall wrote: > > > On 10/02/2018 11:03 AM, Omkar Bolla wrote: > > Hi, > > > > Thanks, > > Basic state change is working now, after using above script. > > > > As I said, I want to share buffer between two domains. > > Could you

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-10-03 Thread Julien Grall
On 10/02/2018 11:03 AM, Omkar Bolla wrote: Hi, Thanks, Basic state change is working now, after using above script. As I said, I want to share buffer between two domains. Could you please suggest outlines, how can I share buffer between 2 domains(Guest and Host)? My question on a previous

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-10-02 Thread Omkar Bolla
Hi, Thanks, Basic state change is working now, after using above script. As I said, I want to share buffer between two domains. Could you please suggest outlines, how can I share buffer between 2 domains(Guest and Host)? Thanks, Omkar B On Fri, Sep 28, 2018 at 7:12 PM Juergen Gross wrote: > O

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-28 Thread Juergen Gross
On 28/09/2018 14:55, Omkar Bolla wrote: > Hi, > I tried to run script after pause the domain and unpause domain after > run script. But I ended up with same error I looked at the script again, it is wrong. The permissions should be set for each node under the root path of the respective domains, t

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-28 Thread Omkar Bolla
Hi, I tried to run script after pause the domain and unpause domain after run script. But I ended up with same error Below I shared PV device log, and attached my FE and BE driver and script that i used, root@hikey960:/debian# [XEN_BUF]xen_vdevb_be_probe(): 124: Probe called. We are good to go. [

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Juergen Gross
On 27/09/2018 12:35, Omkar Bolla wrote: > Hi, > > Sorry, I forgot, I used code from github chapter [2] from that link, and > I just changed name "mydevice"  to "vdevb" Okay. > >> Error 13 is EACCESS. I guess the access rights of the Xenstore nodes >> are not sufficient to write the needed entri

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Omkar Bolla
Hi, Sorry, I forgot, I used code from github chapter [2] from that link, and I just changed name "mydevice" to "vdevb" > Error 13 is EACCESS. I guess the access rights of the Xenstore nodes > are not sufficient to write the needed entries. Where I have to provide access rights, i.e from Kernel c

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Julien Grall
Hi, On 09/27/2018 11:20 AM, Oleksandr Andrushchenko wrote: On 09/27/2018 01:16 PM, Juergen Gross wrote: On 27/09/2018 12:07, Oleksandr Andrushchenko wrote: Hi, On 09/27/2018 12:39 PM, Lars Kurth wrote: Adding a few people who have recently been working on PV drivers, as well as Julien Lars

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Oleksandr Andrushchenko
On 09/27/2018 01:16 PM, Juergen Gross wrote: On 27/09/2018 12:07, Oleksandr Andrushchenko wrote: Hi, On 09/27/2018 12:39 PM, Lars Kurth wrote: Adding a few people who have recently been working on PV drivers, as well as Julien Lars On 27 Sep 2018, at 06:44, Omkar Bolla mailto:omkar.bo...@path

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Juergen Gross
On 27/09/2018 12:07, Oleksandr Andrushchenko wrote: > Hi, > On 09/27/2018 12:39 PM, Lars Kurth wrote: >> Adding a few people who have recently been working on PV drivers, as >> well as Julien >> Lars >> >>> On 27 Sep 2018, at 06:44, Omkar Bolla >>> >> > wrote

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Oleksandr Andrushchenko
Hi, On 09/27/2018 12:39 PM, Lars Kurth wrote: Adding a few people who have recently been working on PV drivers, as well as Julien Lars On 27 Sep 2018, at 06:44, Omkar Bolla > wrote: Hi, I am using Debian as Domain-0 and Debian as Domain-U on Hikey960

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Lars Kurth
Adding a few people who have recently been working on PV drivers, as well as Julien Lars > On 27 Sep 2018, at 06:44, Omkar Bolla wrote: > > Hi, > > I am using Debian as Domain-0 and Debian as Domain-U on Hikey960 > platform(ARMv8) and using Xen-4.8 stable release. Here I want to create a PV

[Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-26 Thread Omkar Bolla
Hi, I am using Debian as Domain-0 and Debian as Domain-U on Hikey960 platform(ARMv8) and using Xen-4.8 stable release. Here I want to create a PV frontend and backend to share memory between Domain-0 and Domain-U. I used below link to create frontend and backend, https://fnordig.de/2016/12/02/x