|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [livepatch-hooks-2 PATCH 4/4] livepatch: Add per-function applied/reverted state tracking marker
> On 21. Aug 2019, at 20:12, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> wrote:
>
> On 8/14/19 4:39 AM, Pawel Wieczorkiewicz wrote:
>> #ifdef __XEN__
>> +typedef enum livepatch_func_state {
>> + LIVEPATCH_FUNC_NOT_APPLIED = 0,
>> + LIVEPATCH_FUNC_APPLIED = 1
>> +} livepatch_func_state_t;
>> +
>> struct livepatch_func {
>> const char *name; /* Name of function to be patched. */
>> void *new_addr;
>> @@ -834,6 +839,10 @@ struct livepatch_func {
>> uint32_t old_size;
>> uint8_t version; /* MUST be LIVEPATCH_PAYLOAD_VERSION. */
>> uint8_t opaque[31];
>> +#if defined CONFIG_X86
>> + uint8_t applied;
>> + uint8_t _pad[7];
>> +#endif
>> };
>
> Three requests:
> - Why does it have to be X86 specific?
Mostly because I am unable to test that on ARM (ENODEV…).
> - Can you also include the change in the documentation where the spec
> resides?
Yes, will do.
> - You are bumping the version to 2, but not making it backwards
> compatible. If so ,you also need to update the documentation to mention
> this.
Ok, I will update that as well.
Best Regards,
Pawel Wieczorkiewicz
Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Ralf Herbrich
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |