]> xenbits.xensource.com Git - libvirt.git/commit
qemu: migration: Extract validation of disk target list
authorPeter Krempa <pkrempa@redhat.com>
Mon, 30 Sep 2024 08:38:58 +0000 (10:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 1 Oct 2024 10:57:02 +0000 (12:57 +0200)
commitaaefaabf5a27dcc36dc7a9bb26aec7e00a483ed8
treeb33dc5c42999add994660f23ac582021ef640bf3
parent4ebf1acb83161bf567c37f7c972f408b24cf8784
qemu: migration: Extract validation of disk target list

The migration code is checking the disk list provided via
VIR_MIGRATE_PARAM_MIGRATE_DISKS against existing disks. Extract it to a
helper function as we'll be passing another list of disk targets soon.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_migration.c