Re: [PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-13 Thread Zenghui Yu
On 2019/8/12 18:39, Steven Price wrote: On 09/08/2019 14:51, Zenghui Yu wrote: [...] Hi Steven, Since userspace is not involved yet (right?), no one will create the PV_TIME device for guest (and no one will specify the IPA of the shared stolen time region), and I guess we will get a "not

Re: [PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-12 Thread Steven Price
On 09/08/2019 14:51, Zenghui Yu wrote: [...] > Hi Steven, > > Since userspace is not involved yet (right?), no one will create the > PV_TIME device for guest (and no one will specify the IPA of the shared > stolen time region), and I guess we will get a "not supported" error > here. > > So what

Re: [PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-09 Thread Zenghui Yu
On 2019/8/2 22:50, Steven Price wrote: Enable paravirtualization features when running under a hypervisor supporting the PV_TIME_ST hypercall. For each (v)CPU, we ask the hypervisor for the location of a shared page which the hypervisor will use to report stolen time to us. We set pv_time_ops

Re: [PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-08 Thread Marc Zyngier
On 08/08/2019 16:29, Steven Price wrote: > On 04/08/2019 10:53, Marc Zyngier wrote: >> On Fri, 2 Aug 2019 15:50:17 +0100 >> Steven Price wrote: >> >>> Enable paravirtualization features when running under a hypervisor >>> supporting the PV_TIME_ST hypercall. >>> >>> For each (v)CPU, we ask the

Re: [PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-08 Thread Steven Price
On 04/08/2019 10:53, Marc Zyngier wrote: > On Fri, 2 Aug 2019 15:50:17 +0100 > Steven Price wrote: > >> Enable paravirtualization features when running under a hypervisor >> supporting the PV_TIME_ST hypercall. >> >> For each (v)CPU, we ask the hypervisor for the location of a shared >> page

Re: [PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-04 Thread Marc Zyngier
On Fri, 2 Aug 2019 15:50:17 +0100 Steven Price wrote: > Enable paravirtualization features when running under a hypervisor > supporting the PV_TIME_ST hypercall. > > For each (v)CPU, we ask the hypervisor for the location of a shared > page which the hypervisor will use to report stolen time

[PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-02 Thread Steven Price
Enable paravirtualization features when running under a hypervisor supporting the PV_TIME_ST hypercall. For each (v)CPU, we ask the hypervisor for the location of a shared page which the hypervisor will use to report stolen time to us. We set pv_time_ops to the stolen time function which simply