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

[Xen-devel] [PATCH v4] Livepatch fixes and features for v4.8.



Hey!

Since v3: [https://lists.xen.org/archives/html/xen-devel/2016-08/msg01825.html]
 - Acked on reviews
v2, v1:
 - Left over fixes and features that didn't get quite done in 4.7

Included are:
 - Bug-fixes
 - Parsing of symbol names encoded as: symbol+0x<offset>
 - NOP patching
 - Generating an symbol map file with Xen's unique symbols (file#symbol)
   so tools generating livepatch payloads can verify the right names.
 - Hooks

The 'hooks' are the most controversial part of this and are left as the
last patch :-)

The legend is:
 r - Reviewed

   [PATCH v4 1/9] livepatch: Clear .bss when payload is reverted
rr [PATCH v4 2/9] livepatch: Deal with payloads without any .text
rr [PATCH v4 3/9] version/livepatch: Move xen_build_id_check to
   [PATCH v4 4/9] version: Print build-id at bootup.
   [PATCH v4 5/9] livepatch: Move code from prepare_payload to own
   [PATCH v4 6/9] livepatch: Add parsing for the symbol+0x<offset>
   [PATCH v4 7/9] livepatch: NOP if func->new_[addr] is zero.
   [PATCH v4 8/9] symbols: Generate an xen-sym.map
   [PATCH v4 9/9] livepach: Add .livepatch.hooks functions and test-case

so one can ignore #2 and #3.

Thanks!

The git tree `

 git://enbits.xen.org/people/konradwilk/xen.git livepatch.v4.8.v4  

contains all the following patches (and more):

 .gitignore                          |   1 +
 docs/misc/livepatch.markdown        |  32 +++++-
 xen/Makefile                        |   6 +-
 xen/arch/arm/Makefile               |   3 +
 xen/arch/x86/Makefile               |   7 +-
 xen/arch/x86/alternative.c          |   2 +-
 xen/arch/x86/livepatch.c            |  44 ++++++--
 xen/arch/x86/test/xen_hello_world.c |  34 ++++++
 xen/common/livepatch.c              | 204 ++++++++++++++++++++++++++++--------
 xen/common/version.c                |   7 +-
 xen/include/asm-x86/alternative.h   |   1 +
 xen/include/xen/livepatch.h         |   3 +-
 xen/include/xen/livepatch_payload.h |  49 +++++++++
 xen/include/xen/version.h           |   8 ++
 xen/tools/symbols.c                 |  12 ++-
 15 files changed, 348 insertions(+), 65 deletions(-)

Konrad Rzeszutek Wilk (8):
      livepatch: Clear .bss when payload is reverted
      livepatch: Deal with payloads without any .text
      version/livepatch: Move xen_build_id_check to version.h
      version: Print build-id at bootup.
      livepatch: Move code from prepare_payload to own routine
      livepatch: Add parsing for the symbol+0x<offset>
      livepatch: NOP if func->new_[addr] is zero.
      symbols: Generate an xen-sym.map

Ross Lagerwall (1):
      livepach: Add .livepatch.hooks functions and test-case


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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