Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-40003

virt-install --cpu host fails on aarch64

    • None
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • aarch64
    • None

      One customer of our partner reported he failed to install a VM using rhel9.4:

      He got this message when launching the VM:

      "

      ERROR    internal error: QEMU unexpectedly closed the monitor (vm='ny5-dtlvm-build-arm01'): 2024-05-23T11:43:59.005476Z qemu-kvm: warning: CPU model cortex-a57-arm-cpu is deprecated – use 'host' / 'max'

      If using --cpu=host

      ERROR    unsupported configuration: CPU mode 'host-model' for aarch64 kvm domain on aarch64 host is not supported by hypervisor

      "

      So while we support the so-called "host" cpu model at qemu level, it seems the same terminology is not used at virt-install level and --cpu host does not work.

      The qemu message is misleading in the respect. So we need to clarify and properly document this to avoid this kind of report.  --cpu option is not documented in rhel "Configuring & Managing Virtualization" doc for rhel9

              jherrman@redhat.com Jiří Herrmann
              eauger Eric Auger
              virt-maint virt-maint
              Hongzhou Liu Hongzhou Liu
              Votes:
              0 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: