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(a)redhat.com>
---
src/conf/domain_validate.c | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>