[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aJ4U4uhARG_fTCw9@lx-t490>
Date: Thu, 14 Aug 2025 18:54:58 +0200
From: "Ahmed S. Darwish" <darwi@...utronix.de>
To: David Woodhouse <dwmw2@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
David Woodhouse <dwmw@...zon.co.uk>, linux-kernel@...r.kernel.org,
Konstantin Belousov <kib@....kiev.ua>,
John Baldwin <jhb@...ebsd.org>,
"<cperciva@...snap.com>" <cperciva@...snap.com>
Subject: Re: [PATCH v2] x86/bhyve: Detect FreeBSD Bhyve hypervisor
On Thu, 14 Aug 2025, David Woodhouse wrote:
> +
> +static uint32_t __init bhyve_detect(void)
> +{
> + if (boot_cpu_data.cpuid_level < 0 ||
> + !cpu_feature_enabled(X86_FEATURE_HYPERVISOR))
> + return 0;
> +
> + bhyve_cpuid_base = cpuid_base_hypervisor("bhyve bhyve ", 0);
KVM has KVM_SIGNATURE, and Xen has XEN_SIGNATURE.
So, can we please assign a BHYVE_SIGNATURE symbol to this?
It will just make my job easier when I'm converting all this later :)
Thanks,
Ahmed
Powered by blists - more mailing lists