mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
The data in question are 'cbitpos' denoting which addressing bit is the encryption bit and 'reduced_phys_bits' denoting how many physical address space we lose by turning on the encryption. Both of these are hypervisor dependent and thus will be the same for all the guest residing on the same host, but need to be specified for future migration purposes. But given we can probe them from domain capabilities, we don't need the user to provide them and thus enhancing cli user experience. This requires a new _SEV domaincapabilities XML class to be created so that we can query the specific properties. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Erik Skultety <eskultet@redhat.com>