Hi,

> > If we want to introduce a new element, perhaps it could look like
> > this:
> >
> >   <loader type='rom'>/usr/share/edk2/ovmf/OVMF.qemuvars.fd</loader>
> >   <varstore type='uefi-vars'>
> >     <template path='/usr/share/edk2/ovmf/OVMF_VARS.qemuvars.json'/>
> >     <source path='/path/to/guest.json'/>
> >   </varstore>

>   <loader type='rom'>/usr/share/edk2/ovmf/OVMF.qemuvars.fd</loader>
>   <varstore template='/usr/share/edk2/ovmf/OVMF_VARS.qemuvars.json'
> path='/path/to/guest.json'/>

<varstore template='...'>/path/to/guest.json</varstore> ?

Following what we are doing for nvram ...

That said I have no idea what guidance is typically used by libvirt when
adding stuff to the schema, specifically the choice between attributes
and sub-elements looks a bit random to me ...

take care,
  Gerd

Reply via email to