]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: don't strip audio elements with user config present
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 10 Nov 2021 17:58:48 +0000 (17:58 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 1 Dec 2021 11:40:17 +0000 (11:40 +0000)
commit9b43ec60af882724e15973206ee362cd38b02e38
treefe7ed462f23282e966a4dc1487be7dfd51072c2d
parent557f96d22462a4eb7f217fef257e25b6b8b0767f
qemu: don't strip audio elements with user config present

To support backwards live migration we must strip the default added
audio element, however, we are too aggressive in doing so. We are only
comparing a couple of attributes for equality, so risk stripping config
that was user customized. To improve this we need to a deep comparison
of the audio config.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_domain.c