Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8250598

Hyper-V is detected in spite of running on host OS

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b13

      Backports

        Description

        https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2020-July/040833

        When I got hs_err log on Windows, I saw "HyperV virtualization detected" in it in spite of running on host OS.

        Hypervisor detector has been introduced in JDK-8219241, but it has some problems as below:

          - Hyper-V is detected on Windows in spite of running on host OS
          - Call CPUID with other than EAX = 40000000h (it is not described in the spec [1])
          - Does not check CPUID hypervisor present bit [1]
          - Does not support x86 (32bit) platform

        [1] https://kb.vmware.com/s/article/1009458

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ysuenaga Yasumasa Suenaga
                Reporter:
                ysuenaga Yasumasa Suenaga
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: