Re: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2017-05-18 Thread Konrad Rzeszutek Wilk
On Thu, May 18, 2017 at 05:47:08PM +0100, Ian Jackson wrote: > Konrad Rzeszutek Wilk writes ("Re: [PATCH v2 6/9] ts-xen-build: Build the > livepatch test-cases"): > > > or something ? > > > > I ended up doing two patches - one to create an enable_livepatch > > (in mfi-common) to seed the jobs. >

Re: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2017-05-18 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases"): > > or something ? > > I ended up doing two patches - one to create an enable_livepatch > (in mfi-common) to seed the jobs. > > And then another to piggyback on that. > > I am attaching them here (

Re: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2017-05-18 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases"): > So I feel like the only way to figure out whether the livepatch tests cases > can be built is if I check either the version of Xen (4.9 or above say) > or if an file exists (xen/xen/test/Makefile).

Re: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2017-05-17 Thread Konrad Rzeszutek Wilk
> or something ? I ended up doing two patches - one to create an enable_livepatch (in mfi-common) to seed the jobs. And then another to piggyback on that. I am attaching them here (as attachment), and I think it makes it simpler? >From 1a303fe8acb3949eb556673744bc5bc89a842b54 Mon Sep 17 00:00:00

Re: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2017-05-17 Thread Konrad Rzeszutek Wilk
On Wed, May 17, 2017 at 08:07:58PM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Dec 13, 2016 at 04:49:25PM +, Ian Jackson wrote: > > Konrad Rzeszutek Wilk writes ("[PATCH v2 6/9] ts-xen-build: Build the > > livepatch test-cases"): > > > +buildcmd_stamped_logged(600, 'xen', 'xenlpt-build',

Re: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2017-05-17 Thread Konrad Rzeszutek Wilk
On Tue, Dec 13, 2016 at 04:49:25PM +, Ian Jackson wrote: > Konrad Rzeszutek Wilk writes ("[PATCH v2 6/9] ts-xen-build: Build the > livepatch test-cases"): > > +buildcmd_stamped_logged(600, 'xen', 'xenlpt-build', '',< > $dokconfig; > > +if test -d xen/test; then > > +$ma

Re: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2016-12-13 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases"): > +buildcmd_stamped_logged(600, 'xen', 'xenlpt-build', '',< $dokconfig; > +if test -d xen/test; then > +$make_prefix make -C xen tests > +fi Is $dokconfig really the right

[Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases

2016-12-12 Thread Konrad Rzeszutek Wilk
The test-cases are quite tied to the Xen hypervisor. In fact they must be built on the same exact xen.gz (and correspondigly xen-syms) that will be running on the host. This is due to build-id dependency which the test-cases are built with. The hypervisor directory only has the `tests` target - no