[PATCH 1/4] schema: Allow lxc:namepsace children to appear individually

Laine Stump laine at redhat.com
Thu Dec 17 02:37:32 UTC 2020


On 12/16/20 4:12 PM, Michal Privoznik wrote:
> Since its introduction in v1.2.19-rc1~8 our schema mandates that
> LXC domain namespace child elements appear either all three at
> once or not at all:
>
>       <lxc:namespace>
>         <lxc:sharenet type='netns' value='red'/>
>         <lxc:shareipc type='pid' value='12345'/>
>         <lxc:shareuts type='name' value='container1'/>
>       </lxc:namespace>
>
> This is not mandated by our parser though. Neither by code that
> later uses it (virLXCProcessSetupNamespaces()). Relax the schema.

Reviewed-by: Laine Stump <laine at redhat.com>





More information about the libvir-list mailing list