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.

Bug 1692225

Summary: RHEL6 guest didn't Synchronize in destination after postcopy migration
Product: Red Hat Enterprise Linux 8 Reporter: jingzhao <jinzhao>
Component: qemu-kvmAssignee: Dr. David Alan Gilbert <dgilbert>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: chayang, juzhang, rbalakri, virt-maint, xiaohli, yuhuang
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-19 11:23:13 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:

Description jingzhao 2019-03-25 05:09:41 UTC
Description of problem:
RHEL6 guest didn't Synchronize in destination after postcopy migration

Version-Release number of selected component (if applicable):
source host and destination host are both rhel8 host

qemu-kvm-2.12.0-63.module+el8+2833+c7d6d092.x86_64
kernel-4.18.0-80.el8.x86_64

How reproducible:
2/2

Steps to Reproduce:
1. Boot guest with qemu command line[1] at source host
   Boot guest with qemu command line[1] with "-incoming tcp:0:5800"

2. In source host:
(qemu) migrate_set_capability postcopy-ram on
(qemu) migrate -d tcp: destination Ip:5800
(qemu) migrate_start_postcopy 

3. check guest in the destination host

Actual results:
Guest didn't start running immediately 

Expected results:
Guest start running immediately

Additional info:
[1]
/usr/libexec/qemu-kvm -name rhel6.10 \
-M pc \
-cpu SandyBridge -m 4G \
-smp 4,sockets=1,cores=4,threads=1 \
-device virtio-scsi-pci,id=virtio_scsi_pci0 \
-drive id=drive_image1,if=none,snapshot=off,aio=threads,cache=none,format=qcow2,file=/mnt/rhel610-64-virtio-scsi.qcow2 \
-device scsi-hd,drive=drive_image1,id=image1,bus=virtio_scsi_pci0.0 \
-vnc :2 \
-vga qxl \
-monitor stdio \
-netdev tap,id=hostnet0,vhost=on \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=18:66:da:5f:d1:02 \

Comment 1 jingzhao 2019-03-25 05:10:10 UTC
Note: didn't reproduce it with RHEL8 guest

Comment 2 Dr. David Alan Gilbert 2019-09-19 11:23:13 UTC
Same as bz 1691721;   the patch that broke it was backported into rhel8 2.12 by bz 1712946
The fix is a spice-server fix.

*** This bug has been marked as a duplicate of bug 1691721 ***