RFR: JDK-8300266: Detect Virtualization on Linux aarch64 [v2]
David Holmes
dholmes at openjdk.org
Sun Jan 22 22:44:01 UTC 2023
On Fri, 20 Jan 2023 10:55:50 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Currently we detect virtualization on Linux x86_64 (cpuid call) and Linux ppc64le ; the result is afterwards used e.g. in hs_err and JFR output.
>>
>> On Linux aarch64 the detection is missing, this should be added.
>> One option would be to look at /sys/devices/virtual/dmi/id/product_name and related files , at least KVM and VMWare can be detected using these files.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> switch from NULL ot nullptr
Looks to me like these should all be moved to vm_version_<os_arch>.cpp. New RFE?
-------------
PR: https://git.openjdk.org/jdk/pull/12071
More information about the hotspot-dev
mailing list