[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 10/14] livepatch: Add support for inline asm hotpatching expectations
> On 21. Aug 2019, at 20:30, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> > wrote: > > On 8/21/19 4:19 AM, Pawel Wieczorkiewicz wrote: >> typedef enum livepatch_func_state { >> LIVEPATCH_FUNC_NOT_APPLIED = 0, >> LIVEPATCH_FUNC_APPLIED = 1 >> @@ -838,11 +850,12 @@ struct livepatch_func { >> uint32_t new_size; >> uint32_t old_size; >> uint8_t version; /* MUST be LIVEPATCH_PAYLOAD_VERSION. */ >> - uint8_t opaque[31]; >> + uint8_t opaque[LIVEPATCH_OPAQUE_SIZE]; >> #if defined CONFIG_X86 >> uint8_t applied; >> uint8_t _pad[7]; >> #endif >> + livepatch_expectation_t expect; >> }; > > Aaah, now I understand why you decide to create a new field _pad and applied > field! > Yup, that was premeditated! :-) > Any particular reason why the version can't be 2 since this can be part of > this changeset? Also you would need to have a Documentation change. It surely can be 2. I wasn’t sure before if the changes could go together. Will change to 2 for both And, I will also update the doc. 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 |