]> xenbits.xensource.com Git - libvirt.git/commit
qemu_migration: check for interface type 'hostdev'
authorKristina Hanicova <khanicov@redhat.com>
Wed, 28 Jul 2021 16:17:25 +0000 (18:17 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Aug 2021 14:07:53 +0000 (16:07 +0200)
commit814a8aaeeb51fa0fd65a030853cc86bc6d29b9d8
treee604bd183b27679cb6abb3cefcaa0bbf4140a3b5
parent8d90bf34f5a92cf1eb176db22888b62f858f23ab
qemu_migration: check for interface type 'hostdev'

When we try to migrate vm, we check if it contains only devices
that are able to migrate. If a hostdev device is not able to
migrate we raise an error with <hostdev/>, but it can actually be
<interface/>, so we need to check if hostdev device was created
by us from interface and show the right error message.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1942315

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c