Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Note, 'hv_reenlightenment' feature *requires* 'tsc-frequency=' setting to make migration work. I don't see
it on the QEMU command line above. Sadly, there was a bug discovered recently, see
commit 99482726452bdf8be9325199022b17fa6d7d58fe
Author: Vitaly Kuznetsov <vkuznets>
Date: Tue Jul 12 15:50:09 2022 +0200
KVM: nVMX: Always enable TSC scaling for L2 when it was enabled for L1
I'm not exactly sure this fix is a must here (I've discovered the issue with Win11, not
Win2022) but it might be.
Hi Vitaly,
I have tried on two different hosts to do postcopy migration with wsl2 installed according to your Comment 1, but win2022 guest still reboot after migration.
src host:
Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz
# virsh capabilities |grep counter
<counter name='tsc' frequency='2194843000' scaling='yes'/>
dst host:
Intel(R) Xeon(R) CPU E5-2609 v3 @ 1.90GHz
# virsh capabilities |grep counter
<counter name='tsc' frequency='1899997000' scaling='no'/>
Qemu command same as Description except cpu command:
-cpu Haswell-noTSX-IBRS,vme=on,ss=on,vmx=on,pdcm=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaveopt=on,pdpe1gb=on,abm=on,ibpb=on,ibrs=on,amd-stibp=on,amd-ssbd=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,hv_stimer,hv_synic,hv_vpindex,hv_relaxed,hv_spinlocks=0xfff,hv_crash,hv_vapic,hv_time,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,hv_evmcs,tsc-frequency=1899997000 \
(In reply to Vitaly Kuznetsov from comment #3)
> The fix I've mentioned in
> https://bugzilla.redhat.com/show_bug.cgi?id=2108531#c1
> was backported in kernel-5.14.0-145.el9 -- did you try this or a later
> version?
Yes, the kernel version is 5.14.0-145.el9.x86_64
>
> I'm taking this BZ to my stash to look at.
(In reply to Li Xiaohui from comment #8)
> I could reproduce this bug on qemu-kvm-7.1.0-1.el9, and retest on
> qemu-kvm-7.1.0-1.el9.vitty202209201648, the bug disappear.
>
> So the scratch build fixes this bug:
> https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=47844255
Thank you, now we're sure it's the same bug.
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 (Moderate: qemu-kvm security, bug fix, and enhancement update), 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-2023:2162