]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: virnwfilterbindingdef: add validation against schema in create
authorKristina Hanicova <khanicov@redhat.com>
Thu, 26 Aug 2021 12:32:33 +0000 (14:32 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 6 Sep 2021 15:08:59 +0000 (17:08 +0200)
commiteabb73eba24af8480f00783601c57dffc1daeb40
treec7540766e601d300839063bfcfbd6db8039fb989
parente21448e830ad3a96b2782abfd6238363bd30280b
conf: virnwfilterbindingdef: add validation against schema in create

We need to validate the XML against schema if option '--validate'
was passed to the virsh command. This patch also includes
propagation of flags into the virNWFilterBindingDefParse().

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/conf/virnwfilterbindingdef.c
src/conf/virnwfilterbindingdef.h
src/nwfilter/nwfilter_driver.c