[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 09/14] livepatch: Add per-function applied/reverted state tracking marker



On 8/21/19 4:19 AM, Pawel Wieczorkiewicz wrote:
  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

Replying here as well. Could you use part of the 'opaque[31]' space instead for this field?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.