[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:32:48 +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=XU6iU7TVAipAA7AwrQax6FW39II4FKbKIOedNurUUCA=; b=wj9dgiDByHXAn877qgfQvUQwFcdJ1Sz6qZX3BmWeHk+CU+7bYQuyLfxV6/MY9wnGbZlXx7g4MHC/xxqJ6HrPa5dIDjnU6xsf4/LgSUkjbGlh7GePLtKbvfGJ4n+UYDDT5tzkEJwKy5+u1uNDQ8fZw3xIMXSGls0k4BX53E1zAAuBKnpLE1MqaNoorH1EZmT5NnTx3BrQWKoc2nDVS7Ec2CrVH5/EZJB11XFzC7VHscVjxJPU6jWB3RncP8+UxZMkzI+BKG2N5R4h8xLDyCR7olvEJP2aoTRB8rwKHFk2Fd6YJp4TlJwhV6sy/1wSwDNTo1F1/PX4zstIzAPI+fEsZg==
- 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=XU6iU7TVAipAA7AwrQax6FW39II4FKbKIOedNurUUCA=; b=ptHOpZT6kwATRJAKvTnz5BP3n9uR6qMlGrVlxTxWVL1QvLzamDXfXAkktx0JKpXASX8nYCuwArmkC8l0Ko1AIvUOcXy84qkvOHXzQsNke6FPTfY1wzpYRsvEyQEMAnftGlR3/Ua0H0Gir+EHF7HTyUkkp7RRUW2GmlVFu+bkcvA2NYOhZf9ROvue7FzAshcVnSU5fzqlZPynLGAHYfsO54ni06F0tcTV3YsD7fBNkQmuFiv0WIvhtE9dG8bUKs0f626EDygpsiuml48dAGgNRte82hVgxcfAlGjRuxmG8ye/hKkMSDynw1kQ2KfTz7nP1ooE+HEuMRlBs0S3CJwdYg==
- Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=onGOLfhiI+tCH+IXFWPAC9uKvYN6JR3DwM5KV/D/b+AnOKO4W43/PrxmXmcRXnj57v2kkjSuWShC9ZP810r6MWBWNlWO/f1chg0tfb8zbbBH/woFK6OP5Uw4AnMPqjcbSqCKWrRH2VSOZlVzCDJPecKLsckLP/VYaF1iu6z4YvpQvjsOu7YHMXk9lD5ftQQBZH7RZd4/wrkwqfiXKo4QKPRPqPC1IrdaZIMZDsOnnTlVcJpr487NB0/KlEbYfs4/ibRaLdS8OQtkrQP+fqtKa/l6qdaquQrT8hclzTacCnZq9yIDrWrQC+HxIae8LbnDG0OyhQYwfb+nOPl6Hos75w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rxgAPjoe3kTHLu+8QXXBG0AswCrFvIY6jWkMtvTcq6qradS6hSV7//0U52ljt7HjUIe/W1D2SL0E9Jh8MZx88H78Tmk9su3pJ4iWjH5v95bK1iHZ+b/ti2YV5e2ldMA4RgzdB6pKgZVQik4ZPIdlDX0XFepxoiWiegvRjn1nSaTXTSpCczWskqnbEInKJRiyF0r9DWDfjNN8aM4P/Z1w3CGLoNlxqEFiAJQSQJMN1e+kXwtrXMAljWfi9MDkLwwwNgz3cEvHmETtlAtC2PylRuIhIj6nVW4LeXQ2gRnOHL4H3oQTtpk89Z2deni/YQCXlTmr50rfA+4LwG5mCiFUYA==
- 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:34:06 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Thread-index: AQHclpNk83RtAc43+U+zvyNqPofiH7V4GlYAgAHjLgCAAAC2gIAAAScA
- Thread-topic: [PATCH v2] xen: Add macOS hypervisor build configuration
Hi Demi,
> On 9 Feb 2026, at 08:28, Demi Marie Obenour <demiobenour@xxxxxxxxx> wrote:
>
> On 2/9/26 02:26, Bertrand Marquis wrote:
>> 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
>
> How are you testing? QEMU TCG?
FVP that i trigger remotely, qemu locally or remotely, real targets depends on
what
i have available.
But while on the go, developing and testing compilation locally without even
testing
on target so that i can later trigger on target is definitely very useful.
Want some tips on how to develop while on Mac OS ?
Cheers
Bertrand
> --
> Sincerely,
> Demi Marie Obenour (she/her/hers)<OpenPGP_0xB288B55FFF9C22C1.asc>
|