libvirt/docs/schemas
Daniel P. Berrangé a9b1375d7d conf: remove duplicated firmware type attribute
The

  <os firmware='efi'>
    <firmware type='efi'>
      <feature enabled='no' name='enrolled-keys'/>
    </firmware>
  </os>

repeats the firmware attribute twice. This has no functional benefit, as
evidenced by fact that we use a single struct field to store both
attributes, while needlessly introducing an error scenario. The XML can
just be simplified to:

  <os firmware='efi'>
    <firmware>
      <feature enabled='no' name='enrolled-keys'/>
    </firmware>
  </os>

which also means that we don't need to emit the empty element
<firmware type='efi'/> for all existing configs too.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-03-30 10:19:42 +01:00
..
basictypes.rng schema: Add define for object names 2021-01-08 09:18:21 +01:00
capability.rng qemu: report whether a machine type is deprecated in capabilities 2021-02-03 17:30:52 +00:00
cpu.rng schema: Add schema for guest or host cpu definition 2020-10-07 09:18:07 +02:00
cputypes.rng schemas: Add support for maximum CPU mode 2021-02-10 15:00:45 +01:00
domain.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
domainbackup.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
domaincaps.rng conf: add reporting of "maximum" CPU mode in domain caps 2021-02-10 11:44:48 +00:00
domaincheckpoint.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
domaincommon.rng conf: remove duplicated firmware type attribute 2021-03-30 10:19:42 +01:00
domainsnapshot.rng conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
interface.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
meson.build schema: Add schema for guest or host cpu definition 2020-10-07 09:18:07 +02:00
network.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
networkcommon.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
networkport.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
nodedev.rng node_device: detecting mdev_types capability on ap_matrix device 2020-12-09 14:03:05 +01:00
nwfilter_params.rng schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01:00
nwfilter.rng schema: nwfiter: Allow leading/trailing whitespace in 'variable-name-type' 2020-10-20 09:05:10 +02:00
nwfilterbinding.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
secret.rng schema: secret: Relax requirements for usage name 2021-01-08 09:18:21 +01:00
storagecommon.rng schema: Add define for object names 2021-01-08 09:18:21 +01:00
storagepool.rng schema: Add define for object names 2021-01-08 09:18:21 +01:00
storagepoolcaps.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
storagevol.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00