6c0a689d80
Detect AMD SEV-ES support by kernel/qemu/libvirt and generate a nested RP for ASID slots for SEV-ES under the compute node RP. Deprecate the [libvirt] num_memory_encryption_guests option because the option is effective only for SEV, and now the maximum numbers for SEV/SEV-ES guests can be detected by domain capabilities presented by libvirt. Note that creating an instance with memory encryption enabled now requires AMD SEV trait, because these instances can't run with SEV-ES slots, which are added by this change. Partially-Implements: blueprint amd-sev-es-libvirt-support Change-Id: I5968e75325b989225ed1fc6921257751ae227a0b Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>