[libvirt PATCH] conf: Simplify IOMMU device validation
Pavel Hrdina
phrdina at redhat.com
Mon Aug 8 15:48:39 UTC 2022
On Mon, Aug 08, 2022 at 05:41:16PM +0200, 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: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220808/44519160/attachment.sig>
More information about the libvir-list
mailing list