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(a)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(a)redhat.com>
Jano