RFR: JDK-8301050: Detect Xen Virtualization on Linux aarch64

Matthias Baesken mbaesken at openjdk.org
Thu Jan 26 13:30:07 UTC 2023


With https://bugs.openjdk.org/browse/JDK-8300266 KVM and VMWare virtualization detection has been added; this should be enhanced by Xen detection.
However it seems that for Xen we should look at other file system locations compared to the other virtualizations.
more /sys/hypervisor/type
xen
seems to be available there.

-------------

Commit messages:
 - JDK-8301050

Changes: https://git.openjdk.org/jdk/pull/12217/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12217&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301050
  Stats: 29 lines in 1 file changed: 17 ins; 6 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/12217.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12217/head:pull/12217

PR: https://git.openjdk.org/jdk/pull/12217


More information about the hotspot-dev mailing list