Description of problem: Migrate failed with vhost-vsock-pci from RHEL-AV 8.3.1 to RHEL-AV 8.2.1 Version-Release number of selected component (if applicable): RHEL-AV 8.3.1: kernel-4.18.0-240.8.1.el8_3.x86_64 qemu-kvm-5.1.0-16.module+el8.3.1+8958+410ab178.x86_64 RHEL-AV 8.2.1: kernel-4.18.0-193.37.1.el8_2.x86_64 qemu-kvm-4.2.0-29.module+el8.2.1+8442+7a3eadf7.5.x86_64 How reproducible: 3/3 Steps to Reproduce: 1. Boot guest with following command on RHEL-AV 8.3.1 /usr/libexec/qemu-kvm -machine pc-q35-rhel8.2.0 -device pcie-root-port,port=0x15,chassis=6,id=pci.6,bus=pcie.0,addr=0x6,chassis=5 -device vhost-vsock-pci,id=vhost-vsock-pci0,bus=pci.6,guest-cid=3 -monitor stdio 2. Boot qemu command with "-incoming defer" on RHEL-AV 8.2.1 3. Migrate from RHEL-AV 8.3.1 to RHEL-AV 8.2.1 Actual results: Migrate failed with following error qemu-kvm: Failed to load virtio-vhost_vsock:virtio qemu-kvm: error while loading state for instance 0x0 of device '0000:00:06.0:00.0/virtio-vhost_vsock' qemu-kvm: warning: TSC frequency mismatch between VM (2397220 kHz) and host (1995190 kHz), and TSC scaling unavailable qemu-kvm: load of migration failed: No such file or directory Expected results: Migrate successfully Additional info:
Assigned to Amnon for initial triage per bz process and age of bug created or assigned to virt-maint without triage.
Adding Stefano Looking at the git history. The only change that may affect migration looks like: commit 6209070503989cf4f28549f228989419d4f0b236 Author: Stefano Garzarella <sgarzare> Date: Mon Sep 21 14:25:04 2020 +0200 vhost-vsock-pci: force virtio version 1 Can you try to revert this patch and see if it works? Thanks
Patch merged upstream: https://git.qemu.org/?p=qemu.git;a=commit;h=c126b4c57e0164549de606ca35d1512762051083
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 (virt:av 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/RHBA-2021:2098