Bug 1787291 - RHVH 4.4: Failed to run VM on 4.3/4.4 engine (Exit message: the CPU is incompatible with host CPU: Host CPU does not provide required features: hle, rtm) [rhel-8.1.0.z]
Summary: RHVH 4.4: Failed to run VM on 4.3/4.4 engine (Exit message: the CPU is incomp...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 8.0
Assignee: Eduardo Habkost
QA Contact: Yumei Huang
URL:
Whiteboard:
Depends On: 1779078 1788122
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-02 08:44 UTC by RHEL Program Management Team
Modified: 2020-12-11 16:26 UTC (History)
32 users (show)

Fixed In Version: qemu-kvm-4.1.0-14.module+el8.1.0+5744+32d46cdb.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1779078
Environment:
Last Closed: 2020-12-11 16:25:49 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Ademar Reis 2020-02-05 23:11:42 UTC
QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks

Comment 3 Danilo de Paula 2020-02-11 13:58:56 UTC
Cab you grant release+ for this BZ? Looks like it's missing from the automation.

Comment 4 Yash Mankad 2020-02-13 18:20:28 UTC
Hi Danilo,

I don't seem to have permission to grant release+ and this BZ has all other flags set.
So this seems like an automation bug that I need to follow up on.

@Martin, could you grant release+ for this ?

Thanks

Comment 11 Yumei Huang 2020-02-26 03:28:01 UTC
Reproduce:
qemu-kvm-4.1.0-14.module+el8.1.0+4754+8d38b36b
libvirt-client-5.6.0-6.2.module+el8.1.0+4953+432c8346.x86_64
kernel-4.18.0-147.7.1.el8_1.x86_64

Host: dell-per730-39.lab.eng.pek2.redhat.com (Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz)

Haswell is usable in `virsh domcapabilities` while host doesn't support hle and rtm.

# virsh domcapabilities 
  <cpu>
    <mode name='host-passthrough' supported='yes'/>
    <mode name='host-model' supported='yes'>
      <model fallback='forbid'>Haswell-noTSX-IBRS</model>
      <vendor>Intel</vendor>
    ...
    <mode name='custom' supported='yes'>
    ...
      <model usable='yes'>Haswell-noTSX-IBRS</model>
      <model usable='yes'>Haswell-noTSX</model>
      <model usable='no'>Haswell-IBRS</model>
      <model usable='yes'>Haswell</model>               ---> Haswell is usable
    ...
    </mode>
  </cpu>


# /usr/libexec/qemu-kvm -cpu Haswell
qemu-kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
qemu-kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]



Verify:
qemu-kvm-4.1.0-14.module+el8.1.0+5744+32d46cdb.3
libvirt-client-5.6.0-6.2.module+el8.1.0+4953+432c8346.x86_64
kernel-4.18.0-147.7.1.el8_1.x86_64

On same host, Haswell is not usable anymore.

# virsh domcapabilities 
...
  <cpu>
    <mode name='host-passthrough' supported='yes'/>
    <mode name='host-model' supported='yes'>
      <model fallback='forbid'>Haswell-noTSX-IBRS</model>
    ...
    <mode name='custom' supported='yes'>
      ...
      <model usable='yes'>Haswell-noTSX-IBRS</model>
      <model usable='yes'>Haswell-noTSX</model>
      <model usable='no'>Haswell-IBRS</model>
      <model usable='no'>Haswell</model>                 ----> Haswell is not usable.
      ...
    </mode>
  </cpu>


Note You need to log in before you can comment on or make changes to this bug.