RFR: JDK-8300266: Detect Virtualization on Linux aarch64 [v2]
Lutz Schmidt
lucy at openjdk.org
Fri Jan 20 14:37:28 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 good to me.
-------------
Marked as reviewed by lucy (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12071
More information about the hotspot-dev
mailing list