Bug 2072049

Summary: Pull MSG_ZEROCOPY on QEMU Live Migration Patches into RHEL 8
Product: Red Hat Enterprise Linux 8 Reporter: Nils Koenig <nkoenig>
Component: qemu-kvmAssignee: Leonardo Bras <leobras>
qemu-kvm sub component: Live Migration QA Contact: Li Xiaohui <xiaohli>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: unspecified CC: aarnold, berrange, cconte, chayang, chdong, coli, fjin, jinzhao, jmaloy, juzhang, leobras, mdean, mtessun, nkoenig, virt-maint, ymankad, yuhuang, zhencliu
Version: 8.6Keywords: RFE, ZStream
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-6.2.0-17.module+el8.7.0+15924+b11d8c3f Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2117252 (view as bug list) Environment:
Last Closed: 2022-11-08 09:19:55 UTC Type: Feature Request
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: 2089433, 2110203, 2117252    

Comment 1 John Ferlan 2022-04-05 20:30:36 UTC
Move to RHEL not RHEL-AV

Comment 2 John Ferlan 2022-04-05 20:38:45 UTC
Directly assigned as a result of owning RHEL9 bug.  

I did not reset target release to 8.5 as I'm not sure that will be possible. It's an engineering decision in the long run, but would involve trying to apply more recent upstream changes to an older qemu since RHEL 8.5 was based on qemu-4.2, while RHEL 8.6 and beyond will be based on qemu-6.2.

Cloning this bug to resolve a RHEL-AV bug is technically possible, but not preferred.

Comment 6 Leonardo Bras 2022-05-24 05:02:21 UTC
David Gilbert created an issue for implementing this at Libvirt gitlab repo:
https://gitlab.com/libvirt/libvirt/-/issues/306

I am not sure if someone is already working on that, but I could see no merge request nor master commit related to that.
So, I am currently trying to understand how to add that in libvirt, but honestly I am very new to the code, and I am still not sure how it should be done.

Comment 16 Li Xiaohui 2022-06-30 09:24:43 UTC
Hi leonardo, 

Thanks for the update of DTM and ITM. Just a reminder here that DTM 18 is July 4, can we get the available qemu-kvm downstream before that? 

Since QE also needs at least one week to test this future feature. I would suggest move ITR from 8.7.0 to 8.8.0 if we still can't make the qemu-kvm available in downstream before DTM 18/19. 

Thanks for the understand!

Comment 17 Camilla Conte 2022-07-12 13:09:34 UTC
Fix included in qemu-kvm-6.2.0-17.el8

Fixed by merge request 'MSG_ZEROCOPY + Multifd @ rhel8.7' ( https://gitlab.com/redhat/rhel/src/qemu-kvm/qemu-kvm/-/merge_requests/191 )

Comment 20 Li Xiaohui 2022-07-12 15:25:45 UTC
Hi Camilla, Why don't we have "qemu-kvm-6.2.0-17.el8" in "Fixed In Version"

Comment 21 Li Xiaohui 2022-07-13 06:26:22 UTC
Move ITM from 20 to 21 for fully tests about zerocopy.

Comment 22 Yanan Fu 2022-07-13 09:14:17 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 23 Li Xiaohui 2022-07-24 14:34:26 UTC
Verify this bug on qemu-kvm-6.2.0-18.module+el8.7.0+15999+d24f860e.x86_64, same test results as https://bugzilla.redhat.com/show_bug.cgi?id=1968509#c23

I have cloned one bug for RHEL 8.7.0:
Bug 2110203 - zerocopy capability can be enabled when set migrate capabilities with multifd and compress/xbzrle together

For dst qemu crash issue under postcopy + multifd scenario, I will wait for Leonardo's reply to decide to whether need to clone:
https://bugzilla.redhat.com/show_bug.cgi?id=2106726#c1


Mark this bug as verified per above test results.

Comment 24 Li Xiaohui 2022-07-24 14:36:57 UTC
I would add test cases in migration test plan later, so remove the "SanityOnly" from Verified firstly.

Comment 30 errata-xmlrpc 2022-11-08 09:19:55 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 (Low: virt:rhel and virt-devel:rhel 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-2022:7472