Bug 1907255 - Migrate failed with vhost-vsock-pci from RHEL-AV 8.3.1 to RHEL-AV 8.2.1
Summary: Migrate failed with vhost-vsock-pci from RHEL-AV 8.3.1 to RHEL-AV 8.2.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.4
Assignee: Stefano Garzarella
QA Contact: jingzhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-14 01:35 UTC by jingzhao
Modified: 2021-05-25 06:46 UTC (History)
7 users (show)

Fixed In Version: qemu-kvm-5.2.0-8.module+el8.4.0+10093+e085f1eb
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 06:46:30 UTC
Type: ---
Target Upstream Version:
Embargoed:
jinzhao: needinfo-
jinzhao: needinfo-


Attachments (Terms of Use)

Description jingzhao 2020-12-14 01:35:22 UTC
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:

Comment 1 John Ferlan 2020-12-22 12:15:13 UTC
Assigned to Amnon for initial triage per bz process and age of bug created or assigned to virt-maint without triage.

Comment 2 jason wang 2020-12-25 03:07:57 UTC
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

Comment 15 Stefano Garzarella 2021-02-09 12:01:50 UTC
Patch merged upstream: https://git.qemu.org/?p=qemu.git;a=commit;h=c126b4c57e0164549de606ca35d1512762051083

Comment 29 errata-xmlrpc 2021-05-25 06:46:30 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 (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


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