Re: [Xen-devel] [PATCH v2 2/2] xen: add update indicator to vcpu_runstate_info

2016-06-16 Thread Juergen Gross
On 16/06/16 14:36, Jan Beulich wrote: On 16.06.16 at 14:11, wrote: >> On 16/06/16 13:15, Jan Beulich wrote: >> On 15.06.16 at 13:34, wrote: +if ( VM_ASSIST(v->domain, runstate_update_flag) ) +{ +off = offsetof(struct vcpu_runstate_info, state_entry_time) +

Re: [Xen-devel] [PATCH v2 2/2] xen: add update indicator to vcpu_runstate_info

2016-06-16 Thread Jan Beulich
>>> On 16.06.16 at 14:11, wrote: > On 16/06/16 13:15, Jan Beulich wrote: > On 15.06.16 at 13:34, wrote: >>> +if ( VM_ASSIST(v->domain, runstate_update_flag) ) >>> +{ >>> +off = offsetof(struct vcpu_runstate_info, state_entry_time) + >>> + sizeof(v->runstate.state_

Re: [Xen-devel] [PATCH v2 2/2] xen: add update indicator to vcpu_runstate_info

2016-06-16 Thread Juergen Gross
On 16/06/16 13:15, Jan Beulich wrote: On 15.06.16 at 13:34, wrote: >> In order to support reading another vcpu's mapped vcpu_runstate_info >> an indicator for an occurring update of the runstate information is >> needed. >> >> Add the possibility to activate setting this indicator in the high

Re: [Xen-devel] [PATCH v2 2/2] xen: add update indicator to vcpu_runstate_info

2016-06-16 Thread Jan Beulich
>>> On 15.06.16 at 13:34, wrote: > In order to support reading another vcpu's mapped vcpu_runstate_info > an indicator for an occurring update of the runstate information is > needed. > > Add the possibility to activate setting this indicator in the highest > bit of state_entry_time via a vm_assi

[Xen-devel] [PATCH v2 2/2] xen: add update indicator to vcpu_runstate_info

2016-06-15 Thread Juergen Gross
In order to support reading another vcpu's mapped vcpu_runstate_info an indicator for an occurring update of the runstate information is needed. Add the possibility to activate setting this indicator in the highest bit of state_entry_time via a vm_assist hypercall. When activated the update indica