mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
KVM builds the VMSA internally, so the logic in igvm-loader passing a VMSA page for KVM is misleading. The page is silently dropped later in import_isolated_pages(). Only MSHV actually imports it. Make PageTypeConfig::vmsa an Option that is None on KVM and push the VMSA page only when it is set. As KVM no longer produces a VMSA page, remove the now-dead skip in import_isolated_pages(). Signed-off-by: Ruben Hakobyan <hruben@meta.com>