RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1746281 - qemu-kvm-rhev: backport cpuidle-haltpoll support [rhel-7.6.z]
Summary: qemu-kvm-rhev: backport cpuidle-haltpoll support [rhel-7.6.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.8
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Marcelo Tosatti
QA Contact: Yumei Huang
URL:
Whiteboard:
Depends On: 1734502 1759283
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-28 07:25 UTC by RAD team bot copy to z-stream
Modified: 2022-07-09 11:06 UTC (History)
8 users (show)

Fixed In Version: qemu-kvm-rhev-2.12.0-18.el7_6.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1734502
Environment:
Last Closed: 2020-03-05 15:04:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:0730 0 None None None 2020-03-05 15:05:33 UTC

Description RAD team bot copy to z-stream 2019-08-28 07:25:46 UTC
This bug has been copied from bug #1734502 and has been proposed to be backported to 7.6 z-stream (EUS).

Comment 5 Yumei Huang 2020-02-13 09:29:32 UTC
Verify:
qemu-kvm-rhev-2.12.0-18.el7_6.8
kernel-3.10.0-957.46.1.el7.x86_64 (both guest and host)

Steps:

1) Enable tracing on both src and dst host

# cd /sys/kernel/debug/tracing
# echo "kvm_msr" > set_event
# echo "ecx==0x4b564d05" > events/kvm/kvm_msr/filter
# echo > trace


2) Boot guest with "-cpu Haswell-noTSX,+kvm-poll-control" on src host


3) Load cpuidle-haltpoll driver inside guest

# modprobe cpuidle-haltpoll


4) Run "rdmsr 0x4b564d05" inside guest, cat trace on src host

# rdmsr 0x4b564d05
0

# cat trace
...
           <...>-65637 [004] .... 91836.781567: kvm_msr: msr_write 4b564d05 = 0x0
           <...>-65613 [015] .... 91843.430754: kvm_msr: msr_read 4b564d05 = 0x0


5) Migrate guest to dst host


6) Run "rdmsr 0x4b564d05" inside guest, cat trace on dst host

# rdmsr 0x4b564d05
0

# cat trace
...
        qemu-kvm-16538 [003] ....  8611.418674: kvm_msr: msr_read 4b564d05 = 0x0




Repeat above steps without loading cpuidle-haltpoll driver, rdmsr 0x4b564d05 returns 1 inside guest before and after migration.

Comment 7 errata-xmlrpc 2020-03-05 15:04:52 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:0730


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