Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1981431

Summary: Automatically inserted <audio> prevents migrations to older versions
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Milan Zamazal <mzamazal>
Component: libvirtAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.5CC: ahadas, pkrempa, virt-maint
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.5   
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: 2021-07-12 14:31:28 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:
Attachments:
Description Flags
libvirtd.log
none
Domain XML reported from virsh after the VM started none

Description Milan Zamazal 2021-07-12 14:28:08 UTC
Created attachment 1800820 [details]
libvirtd.log

Description of problem:

When a VM like the one in the attached libvirtd log is created and started on an AV 8.5 host, the following line is added to its domain XML automatically:

  <audio id='1' type='spice'/>

Such a VM cannot be migrated to AV 8.4 hosts, with libvirt 7.0.0 and QEMU 5.2.0. A migration attempt fails with:

  unsupported configuration: unknown audio type 'spice'

Version-Release number of selected component (if applicable):

libvirt-daemon-kvm-7.4.0-1.module+el8.5.0+11218+83343022.x86_64
qemu-kvm-6.0.0-21.module+el8.5.0+11555+e0ab0d09.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Start a VM like the one in the attached log on a host with AV 8.5.
2. Try to migrate it to a host with AVĀ 8.4.

Actual results:

The migration fails.

Expected results:

The migration succeeds.

Additional info:

The problem has been observed in RHV.

Comment 1 Milan Zamazal 2021-07-12 14:30:01 UTC
Created attachment 1800821 [details]
Domain XML reported from virsh after the VM started

Comment 2 Peter Krempa 2021-07-12 14:31:28 UTC

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