[PATCH 072/103] qemu: validate: Move disk address validation code

Ján Tomko jtomko at redhat.com
Mon Oct 11 15:07:49 UTC 2021


On a Thursday in 2021, Peter Krempa wrote:
>Move the code from 'qemuValidateDomainDeviceDefDiskFrontend' into
>'qemuValidateDomainDeviceDefAddressDrive' which is called from
>'qemuValidateDomainDeviceDefAddress' so that we have all address
>validation code together.
>
>This also allows us to remove the inline validation inside
>'qemuBuildSCSIHostdevDevStr'.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c  |  16 ---
> src/qemu/qemu_validate.c | 210 +++++++++++++++++++++++----------------
> 2 files changed, 124 insertions(+), 102 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211011/47ebe231/attachment-0001.sig>


More information about the libvir-list mailing list