[kpatch] Deprecation of 'kpatch replace'

Josh Poimboeuf jpoimboe at redhat.com
Tue Nov 3 15:07:46 UTC 2015


On Tue, Nov 03, 2015 at 12:14:06PM +0300, Evgenii Shatokhin wrote:
> Hi,
> 
> As far as I can see in the commit message for
> 353f976312bbf24b27d29d21b1b2f8ce75ded3e4 "test: integration test cleanup",
> "kpatch replace" is deprecated.
> 
> If so, what is the recommended way to replace the currently loaded patch
> modules with a new one? 'kpatch unload --all' followed by 'kpatch load' or
> something more tricky?

Hi Evgenii,

The recommended upgrade approach is for the new patch to be a superset
of the old one.  Then you just "kpatch load" the new patch.  The old
patch can remain loaded, but all of its functions are replaced by the
new patch.

-- 
Josh




More information about the kpatch mailing list