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

Re: [PATCH v2] xen: Add macOS hypervisor build configuration


  • To: Demi Marie Obenour <demiobenour@xxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Mon, 9 Feb 2026 07:26:08 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=gmail.com smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=iUUTfMYYaBZ3xrrZiJBRATlMTMjWxXeVJnrs26n2EiQ=; b=SeLcLSwJAcRxdi2iGAnuRvpvsiymuxv9ETydj7LJyLIMYPxVesCThIAV33lcDnNcQQFA1gUgkCt81OJx47EtTXsHq/EVKA+QUt22N74NSjUyNSn1G24IB/txwcxifbXAWTL5SWgrGInVQ4KjsBQ05KP8nZ6XgQCiNHQP3JyMzaQuUkn4244M+aSF+4oNx4oyg7WAwoXMdUzz3mqsasCGjmTvwOWimbqskNj79qpKMIAves8lgXZTzD84fzqrNpT3hRxJIw7NhQzZsrb4yx7EtZ0s6GVYdsZ2v22twKSm9Ae3O738HuWwC1CwyFrHqR3ma3LhAlHic+nZfTinOSwfmw==
  • 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=iUUTfMYYaBZ3xrrZiJBRATlMTMjWxXeVJnrs26n2EiQ=; b=FviXsE0tWSWGNZBXW37Lk68RHN0nUlnjWyKu/ynanzoXk++7I6a5oBQDLF5wARGp+SSfd9l4LvuHDSD8z7g7JkPCd0pif44irBLSsjf4xjFR1MHd+BI5pbY3wrvVRBD+9QyhMAgxOYh83nh1XakwzClCM40CJ/cWktfawyF7ncLHeq5AtIx95xzUcZd3jEzI6cVd9cIMPNv+xRlMrOFLQt3nqKwgbdCZNlVtPYKZ/z3TGthGs1hhvEDea+G7RcYgdvPRi50zvDFlvvlIgmFrvCJsB+sh2iHc3Dgv+4zXpf204ztbvnZL5sfWUQBW8dpdRjRloeGPwzegf81qY9dwbA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=OyyTekr4r7jlgEsL5bmYXqfMuC0vi6uQbWBV7Z0GZIBhRT8c6ajxMUpTdnypCoty6dq5U6hhY7LxAIh/O7SXebzO9tpZY0B0/FvKiDVdDj7j4HjaPAeiHmCDpPM/uy0QHHLkxg/w3GnQ7pwGIKATSwgRK2mGr+CAMp8c3Kg8t1YFig1VQpPRrC0ZCl98cOGrBrl01MZ8JkGAKiTN7rgbsvOfzMwICQBMXZq/R9jgj4XXmX1anPA7ZOs/ykLFg6uWrXGT7Y2zPy3CH7MfdY88bW63dDn0g1zErIpovM2p3fijfj88+H+McHK6PZrWB5pFeoU0UJf8jMOYhS2TPsgQDA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OrE75YSHnk+eaGUF9CCk6YxwQl4Y9YfHLJkPrrAE4qGtbmGSFA/AY5RIE1kKjfKt3h3gzFRqPPRXhYf5o1wv4+i7BqdumtwuKUGn+dzKk91Se+3DMMIBriS5AFGJUcMf2ZxrGzGzUOhufvGocOkr5/jAy1/u+e+dd+1hYRAHxgli2EmVRmbwTDoyBjUAJfcaTDceQtALGVBHJmNfyUZGYBAB+fYxNHAtFxthgsjS7g0rntIMyCPz3Un+1Uz24s7sx93iGqFLGS2DsXdYXqpem9jiD+5ufnXV4s0Pj+Y9HYJ+S8uXEkeEvopSYWzaX+xGjSb5IRgj+UW9GPWryCLCkw==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 09 Feb 2026 07:27:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Thread-index: AQHclpNk83RtAc43+U+zvyNqPofiH7V4GlYAgAHjLgA=
  • Thread-topic: [PATCH v2] xen: Add macOS hypervisor build configuration

Hi Demi,

> On 8 Feb 2026, at 03:36, Demi Marie Obenour <demiobenour@xxxxxxxxx> wrote:
> 
> On 2/5/26 06:33, Bertrand Marquis wrote:
>> Xen does not currently document how to build the hypervisor on macOS, and
>> there is no Darwin configuration for selecting a Homebrew-based GNU
>> toolchain. Native builds are not supported; the hypervisor must be
>> cross-built with a GNU toolchain and GNU make/sed.
>> 
>> Add a minimal Darwin.mk which selects the GNU tool definitions used by
>> the macOS workflow and point to the build guide for required tools and
>> setup. Document the Homebrew cross toolchain and GNU tools needed to
>> build the hypervisor on macOS.
> What is the use-case?

My main use case is development and testing on MacOS.
I can do a lot of stuff by only recompiling and testing the hypervisor without
changing the rest of my test environment and being able to do it directly
on my mac is making things a lot faster and simpler.

I have been using this for a long time and someone asked me some weeks
ago if that was possible so i figured it would be a good idea to share.

Cheers
Bertrand

> -- 
> Sincerely,
> Demi Marie Obenour (she/her/hers)<OpenPGP_0xB288B55FFF9C22C1.asc>





 


Rackspace

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