Bug 1626871

Summary: [RFE] request for using TscInvariant feature with qemu-kvm.
Product: Red Hat Enterprise Linux 7 Reporter: doun baek <dbaek>
Component: qemu-kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED ERRATA QA Contact: Yumei Huang <yuhuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: ailan, areis, chayang, djdumas, ehabkost, jinzhao, juzhang, khuh, mrezanin, mtessun, ngu, zhguo
Target Milestone: rcKeywords: FutureFeature
Target Release: 7.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-169.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 20:02:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 651787    

Description doun baek 2018-09-10 00:36:12 UTC
Description of problem:

the customer wants to use they TscInvariant CPU feature on VM.
but they can't use this feature due to they have to use RHEL without other products that has qemu-kvm-rhev.
also they can't understand why it can use after buying RHV or RHOSP.
so please check and confirm this feature can use on qemu-kvm.

Comment 25 Yumei Huang 2019-09-06 06:32:16 UTC
Verify:
qemu-kvm-1.5.3-169.el7
kernel-3.10.0-1085.el7.x86_64

QEMU cli:
# /usr/libexec/qemu-kvm -cpu 'Opteron_G5',+invtsc ...


Checked CPUID inside guest, TscInvariant is enabled. 

# cpuid
...
   Advanced Power Management Features (0x80000007/edx):
      TS: temperature sensing diode           = false
      FID: frequency ID control               = false
      VID: voltage ID control                 = false
      TTP: thermal trip                       = false
      TM: thermal monitor                     = false
      STC: software thermal control           = false
      100 MHz multiplier control              = false
      hardware P-State control                = false
      TscInvariant                            = true
      CPB: core performance boost             = false
      read-only effective frequency interface = false
      processor feedback interface            = false
      APM power reporting                     = false
      connected standby                       = false
      RAPL: running average power limit       = false
...


Savevm and migration is blocked as expected.

(qemu) savevm aa
State blocked by non-migratable device 'cpu'
(qemu) migrate -d tcp:0:1234
migrate: State blocked by non-migratable device 'cpu'

Comment 27 errata-xmlrpc 2020-03-31 20:02:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1116