Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1663

Add support for xen virtualization detection

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 3.9.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Platform OS
    • Story Points:
      3
    • Sprint:
      Platform OS 2017-08-22, Platform OS 2017-09-05
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action

      Description

      When run as root, facter currently uses virt-what to detect xen - virt-what uses several methods to differentiate between xen0, xenu, and xenhvm (cpuid instruction, /proc/xen, /sys/hypervisor/type, etc.). When run by not-root, facter uses a smaller set of its own methods to do this differentiation.

      There are a few open issues related to xen detection - FACT-687 reports that the pv/hvm distinction is not being made correctly in at least one case (although via virt-what or facter's internal functionality is not clear). FACT-1483 has a detailed breakdown of how virt-what misidentifies a (hvm) xen host as hyperv when viridian extensions are enabled - there's a helpful RedHat bug for virt-what on this issue here.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              branan Branan Riley
              Reporter:
              casey.williams Casey Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support