On Thu, Jun 20, 2024 at 01:22:39PM +0200, Michal Privoznik wrote: > Some parts of SEV are to be shared with SEV SNP. In order to > reuse XML parsing / formatting code cleanly, let's move those > common bits into a new struct (virDomainSEVCommonDef) and adjust > rest of the code. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/conf/domain_conf.c | 55 +++++++++++++++++++++---------- > src/conf/domain_conf.h | 13 +++++--- > src/conf/schemas/domaincommon.rng | 24 ++++++++------ > src/conf/virconftypes.h | 2 ++ > src/qemu/qemu_command.c | 8 ++--- > src/qemu/qemu_process.c | 12 +++---- > src/qemu/qemu_validate.c | 2 +- > 7 files changed, 74 insertions(+), 42 deletions(-) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|