[libvirt PATCH] conf: Simplify IOMMU device validation

Ján Tomko jtomko at redhat.com
Mon Aug 8 15:49:43 UTC 2022


On a Monday in 2022, Andrea Bolognani wrote:
>Instead of duplicating the list of attributes that are not
>allowed for some of the IOMMU models, use two separate switch
>statements: one for the attributes and one for the address.
>
>Signed-off-by: Andrea Bolognani <abologna at redhat.com>
>---
> src/conf/domain_validate.c | 22 +++++++++-------------
> 1 file changed, 9 insertions(+), 13 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/20220808/ca1e52e8/attachment.sig>


More information about the libvir-list mailing list