[libvirt] [PATCH 3/5] Introduce @secure attribute to os loader element

Michal Privoznik mprivozn at redhat.com
Thu Aug 4 15:11:11 UTC 2016

On 04.08.2016 12:19, Pavel Hrdina wrote:
> On Wed, Jul 27, 2016 at 10:43:50AM +0200, Michal Privoznik wrote:
>> This element will control secure boot implemented by some
>> firmwares. If the firmware used in <loader/> does support the
>> feature we must tell it to the underlying hypervisor. However, we
>> can't know whether loader does support it or not just by looking
>> at the file. Therefore we have to have an attribute to the
>> element where users can tell us whether the firmware is secure
>> boot enabled or not.
>> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>> ---
>>  docs/formatdomain.html.in                          |  7 ++--
>>  docs/schemas/domaincommon.rng                      |  8 +++++
>>  src/conf/domain_conf.c                             | 14 ++++++++
>>  src/conf/domain_conf.h                             |  1 +
>>  .../qemuxml2argv-bios-nvram-secure.xml             | 41 ++++++++++++++++++++++
> This XML file should be part of the next patch.

In fact, I always thought that XML test files should go hand in hand
with our parser/formatter & schema changes. I mean, the .xml file I'm
introducing is checked to be compliant with the RNG schema.
I think the XML file can be viewed as a test for RNG schema change.


More information about the libvir-list mailing list