
11 Oct
2021
11 Oct
'21
11:07 a.m.
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@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@redhat.com> Jano