On Thu, Oct 05, 2017 at 02:47:30PM +0100, Ross Lagerwall wrote: > On 09/20/2017 11:31 PM, Konrad Rzeszutek Wilk wrote: > > If the livepatch has only .rodata sections then it is OK to also > > apply/revert/apply the livepatch without having to worry about the > > unforseen consequences. > > > > See commit 98b728a7b235c67e210f67f789db5d9eb38ca00c > > "livepatch: Disallow applying after an revert" for details. > > > > Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > > --- > > Cc: Ross Lagerwall <ross.lagerw...@citrix.com> > > > > The patch looks OK, but what is the use case for a live patch with only > .rodata?
A NOP one. This hasn't been an issue in the past, but further patches change the .livepatch_funcs from RW to RO (to be in line with what livepatch-build-tools.git do) - and then the xen_nop testcase does not work anymore. > > Regards, > -- > Ross Lagerwall > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > https://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel