Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-09 Thread Andrew Cooper
On 09/03/2022 10:22, Jan Beulich wrote: > On 09.03.2022 10:30, Roger Pau Monné wrote: >> On Tue, Mar 08, 2022 at 05:58:49PM +0100, Jan Beulich wrote: >>> On 08.03.2022 17:41, Roger Pau Monné wrote: On Tue, Mar 08, 2022 at 04:13:55PM +0100, Jan Beulich wrote: > On 08.03.2022 15:46, Roger Pa

Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-09 Thread Jan Beulich
On 09.03.2022 10:30, Roger Pau Monné wrote: > On Tue, Mar 08, 2022 at 05:58:49PM +0100, Jan Beulich wrote: >> On 08.03.2022 17:41, Roger Pau Monné wrote: >>> On Tue, Mar 08, 2022 at 04:13:55PM +0100, Jan Beulich wrote: On 08.03.2022 15:46, Roger Pau Monné wrote: > On Tue, Mar 08, 2022 at 0

Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-09 Thread Roger Pau Monné
On Tue, Mar 08, 2022 at 05:58:49PM +0100, Jan Beulich wrote: > On 08.03.2022 17:41, Roger Pau Monné wrote: > > On Tue, Mar 08, 2022 at 04:13:55PM +0100, Jan Beulich wrote: > >> On 08.03.2022 15:46, Roger Pau Monné wrote: > >>> On Tue, Mar 08, 2022 at 03:09:17PM +0100, Jan Beulich wrote: > On 0

Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-08 Thread Jan Beulich
On 08.03.2022 17:41, Roger Pau Monné wrote: > On Tue, Mar 08, 2022 at 04:13:55PM +0100, Jan Beulich wrote: >> On 08.03.2022 15:46, Roger Pau Monné wrote: >>> On Tue, Mar 08, 2022 at 03:09:17PM +0100, Jan Beulich wrote: On 08.03.2022 14:49, Roger Pau Monne wrote: > If livepatching support i

Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-08 Thread Roger Pau Monné
On Tue, Mar 08, 2022 at 04:13:55PM +0100, Jan Beulich wrote: > On 08.03.2022 15:46, Roger Pau Monné wrote: > > On Tue, Mar 08, 2022 at 03:09:17PM +0100, Jan Beulich wrote: > >> On 08.03.2022 14:49, Roger Pau Monne wrote: > >>> If livepatching support is enabled build the hypervisor with > >>> -f{fu

Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-08 Thread Jan Beulich
On 08.03.2022 15:46, Roger Pau Monné wrote: > On Tue, Mar 08, 2022 at 03:09:17PM +0100, Jan Beulich wrote: >> On 08.03.2022 14:49, Roger Pau Monne wrote: >>> If livepatching support is enabled build the hypervisor with >>> -f{function,data}-sections compiler options, which is required by the >>> li

Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-08 Thread Roger Pau Monné
On Tue, Mar 08, 2022 at 03:09:17PM +0100, Jan Beulich wrote: > On 08.03.2022 14:49, Roger Pau Monne wrote: > > If livepatching support is enabled build the hypervisor with > > -f{function,data}-sections compiler options, which is required by the > > livepatching tools to detect changes and create l

Re: [PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-08 Thread Jan Beulich
On 08.03.2022 14:49, Roger Pau Monne wrote: > If livepatching support is enabled build the hypervisor with > -f{function,data}-sections compiler options, which is required by the > livepatching tools to detect changes and create livepatches. > > This shouldn't result in any functional change on th

[PATCH v3 2/2] livepatch: set -f{function,data}-sections compiler option

2022-03-08 Thread Roger Pau Monne
If livepatching support is enabled build the hypervisor with -f{function,data}-sections compiler options, which is required by the livepatching tools to detect changes and create livepatches. This shouldn't result in any functional change on the hypervisor binary image, but does however require so