]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: validate: Move validation of device rom
authorPeter Krempa <pkrempa@redhat.com>
Fri, 1 Oct 2021 14:47:12 +0000 (16:47 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 08:26:02 +0000 (10:26 +0200)
commit24be92b8e38762e9ba13e32a4f68568ed26380ea
treebae8be39e9b9b5b09bd42fcb9379fde1c4d907f9
parent98a574ca0d3bc98de3f89a8fb9c8206f7ab3092b
qemu: validate: Move validation of device rom

Move the validation from 'qemuBuildRomStr' into the function which
validates device info. It was originally named
'qemuValidateDomainDeviceDefAddress' but this commit renames it to
'qemuValidateDomainDeviceDefInfo'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_validate.c