libvirt/docs/schemas
Erik Skultety 2508d10f67 conf: domain: sev: Make 'cbitpos' & 'reducedPhysBits' attrs optional
These XML attributes have been mandatory since the introduction of SEV
support to libvirt. This design decision was based on QEMU's
requirement for these to be mandatory for migration purposes, as
differences in these values across platforms must result in the
pre-migration checks failing (not that migration with SEV works at the
time of this patch).

Expecting the user to specify these is cumbersome and the same XML
cannot be re-used across different revisions of SEV. Since
we have SEV platform information saved in QEMU capabilities, we can
make the attributes optional and should fill them in automatically
in the QEMU driver right before starting it.

Resolves: https://gitlab.com/libvirt/libvirt/-/issues/57

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2020-10-19 11:03:39 +02:00
..
basictypes.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
capability.rng schema: Move host cpu definition to cputypes.rng 2020-10-07 09:18:07 +02:00
cpu.rng schema: Add schema for guest or host cpu definition 2020-10-07 09:18:07 +02:00
cputypes.rng schema: Make element "topology" in host CPU definition optional 2020-10-08 10:15:31 +02: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 schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
domaincheckpoint.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
domaincommon.rng conf: domain: sev: Make 'cbitpos' & 'reducedPhysBits' attrs optional 2020-10-19 11:03:39 +02:00
domainsnapshot.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02: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 schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
nwfilter_params.rng schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01:00
nwfilter.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
nwfilterbinding.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
secret.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
storagecommon.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
storagepool.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02: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