[PATCH] schemas: rng: Make secret optional in storage vol
Michal Prívozník
mprivozn at redhat.com
Thu Jul 7 10:34:16 UTC 2022
On 7/6/22 04:42, Han Han wrote:
> For a qcow2 storage volume with luks encryption created by qemu-img, its
> dumped storage vol XML has no secret element in encryption:
> <volume type='file'>
> ...
> <encryption format='luks'>
> </encryption>
> ...
> </volume>
>
> That will cause a failure in rng validation. Fix that validation failure.
>
> Signed-off-by: Han Han <hhan at redhat.com>
> ---
> src/conf/schemas/storagecommon.rng | 24 +++++++++++++-----------
> 1 file changed, 13 insertions(+), 11 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list