qemu: hotplug: Validate definition of 'FS' device after address allocation
commit63b32dbe8bf4e415c47b46831016310baa0cb699
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 May 2024 14:25:33 +0000 (30 16:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 31 May 2024 10:54:32 +0000 (31 12:54 +0200)
treeab92f761fafba2b564ed6fc3ca2f384125589b8c
parentc249f909f3aada7a8fc61b072fe69e4bb42a1354
qemu: hotplug: Validate definition of 'FS' device after address allocation

Some of the checks make sense only after the address is allocated and
thus we need to re-do the validation after the address is assigned.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_hotplug.c