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

Re: [PATCH 0/7] Factor out common build rules and helpers in tools/tests


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Edwin Torok <edwin.torok@xxxxxxxxxx>
  • Date: Tue, 31 Mar 2026 20:12:11 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RoBFa4jcjgIIIH5H4QOsTEIyRuS4rpi1OQxkU4cFtjw=; b=RkYND0Kpe4tDhoO//IQwbMsD+M1HdUfuXM3JiZXzBu8qWlgXUET+hH1iY2bPl5NLtqZGSrxMjETDejNiFAAZ74othFtS0METSAnsE5D4VtUOOgBrLEyqhB1Y5tppEREHygGi/50LNfzmlvt3rSwNxSvm2t+FQeEgxKFBswMevwQcVZe9Dzw2rBPkEAbpb4srw6mkNnp7o9PQHYpsAh+a3hwI2EDje8ptMcH5XQEVT/gL713llKfjBVrLR/U1TqRDfFbJfGnEd5wYwDT3XJeCYI8HX39F0RP5+Kfri9LunMqyC5uGG5e8pJEAUozmSoo6v+uHiHkuLHtOX+vXDxydgA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WlBdf6CNzmvwRdTGQCeWHZzru8eembiEpZ62nk47+08NBTJZTdrxo+UlT40gQoA+laFMrMQiVCuzhYHdgOidwQaeIJHHYkwbYoy7TycjeJwXFt9n8H1HRX1g9kGOn44GKaUtzQdRgYzP7l1rzi0YnsJVYxGEZeZ5TJaR6EM88rW4tox5Ywn/wAXV/qcpLcE6MnKJXYfcLaIcrpi+TcvLDVdzNNSz6s1o6mz5BhWCsHJPIuWDuiPEImyJ6e8riN2TFAuDzGRrZXM0A6EvGIeCvDKuXqrFwFEKx2Fzh63eflcg0Nz6MkmLE+56SNcuDzbZT/MPCsIeYMMvsKFD8QE4GA==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:x-ms-exchange-senderadcheck"
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Denis Mukhin <dmukhin@xxxxxxxx>, Marcus Granado <marcus.granado@xxxxxxxxxx>
  • Delivery-date: Tue, 31 Mar 2026 20:12:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcpK0ssUh7hdj8f0mNZT6LyhFCMLWQGOWAgAbDtQCAMm9PAA==
  • Thread-topic: [PATCH 0/7] Factor out common build rules and helpers in tools/tests


> On 27 Feb 2026, at 18:00, Edwin Torok <edwin.torok@xxxxxxxxxx> wrote:
> 
> 
>> On 23 Feb 2026, at 10:42, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>> 
>> On 23.02.2026 11:14, Edwin Török wrote:
>>> There are a lot of duplicate rules and code in tools/tests.
>>> To simplify writing new tests move common build rules into a
>>> `tools/tests/Rules.mk`, and helper macros/functions into 
>>> `common/{tests,guests}.{c,h}`.
>>> 
>>> ….
>> 
>> Just fyi that there is also
>> https://lists.xen.org/archives/html/xen-devel/2026-02/msg00751.html.
>> Can the two of you maybe work together to have a single resulting approach?
>> 
>> Jan
> 
> There is definitely a lot in common between the two series, and I’m talking 
> with Denis.
> The Makefile cleanups that both of us have done can probably go in first as 
> part of a shared series,
> I’ll try to setup a combined branch to see how that’d look like.
> 


I have a combined branch here:
https://gitlab.com/xen-project/people/edwintorok/xen/-/compare/staging...private%2Fedvint%2Fmigration-tests5?from_project_id=2336572

TODO:
* rebase the vPCI Makefile patch on top of this 
* there is review feedback for the previous series on the list

Today is my last actual working day at Citrix, and likely next week onward this 
email address will stop working too.
I intended to finish my pending patch series, unfortunately I ran out of time 
(I managed to get the ~70+ XAPI+Xen branches down to ~18, but cycling through 
each series took more time than available).
I hope that someone else (e.g. from XenServer) will be able to pick up where I 
left off and complete these.

I intended to send out the rest of the branches I have as patches, but git 
send-email or the internal SMTP server stopped working.

Here are some git repositories instead:
* this series: 
https://gitlab.com/xen-project/people/edwintorok/xen/-/compare/staging...private%2Fedvint%2Fmigration-tests5?from_project_id=2336572

* the migration foreign copy optimizations as a Proof of Concept (~2.5x faster 
localhost migrations). Don’t use these as is, should be done properly by 
introducing a separate foreign copy operation, instead of piggy-backing on top 
of grant-copy as I’ve done here (piggy-backing was useful for measuring the 
performance optimisation potential, since a lot of the glue code between 
hypervisor and user space was already there): 
https://gitlab.com/xen-project/people/edwintorok/xen/-/compare/staging...private%2Fedvint%2Ftests2?from_project_id=2336572

* combined XenServer patch queue + PMU stacktrace (flame graph) + migration 
foreign copy optimizations 
https://gitlab.com/xen-project/people/edwintorok/xen/-/compare/staging...guilt%2Fpatches?from_project_id=2336572
* foreign copy Proof of Concept for the kernel (this is a kernel tree in a Xen 
git repo):  
https://gitlab.com/xen-project/people/edwintorok/xen/-/commit/ea13155dce8f2f1cfd1a2c54a3f8158be8beed62

I’m not leaving the Xen ecosystem entirely, in my new role I’ll be working on 
the Unikraft and MirageOS subprojects, instead of the XAPI subproject of Xen
(it’ll likely mean a lot less interaction with the hypervisor itself)

Thank you all for all your patience and advice when reviewing patches!


Best regards,
—Edwin

 


Rackspace

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