|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 4/6] arm/vm_event: get/set registers
On 06/07/2016 20:23, Tamas K Lengyel wrote: On Wed, Jul 6, 2016 at 1:43 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:On 05.07.16 at 20:37, <tamas.lengyel@xxxxxxxxxxxx> wrote: Here we go with again the same argument: "this is not necessary for my use-case". This data structure is part of the ABI between the hypervisor and the vm-event app, i.e modifying this structure for adding ARM64/ARM registers will result to an incompatibility with a previous version of the hypervisor. Better to do it now than in a couple of years when vm-event will have more users. I agree that it is time consuming to get an ABI correct, but it will save users to recompile/ship another version of their vm-event app because of this incompatibility. As mentioned in a previous thread, the main use-case for trapping an SMC is emulating the call, hence a vm-event app would want to have access to the general-purpose registers. And yes, I know that your use-case is different and does not require those registers, I already expressed my concerns about it. Now, if you drop this patch, how will you retrieve the vCPU register? I guess via DOMCTL_getvcpucontext? If so, if the vCPU has not been paused, you will get a context which is different compare to the time the vm-event has occurred. And yes, I know that in your use-case the vCPU is paused. This call will always be more expensive than passing the registers with event. Anyway, I really don't think we ask for something really difficult to accomplish. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |