virt-pvm / linux

Linux kernel source tree for PVM
Other
14 stars 4 forks source link

Intel LA57 Support #6

Open Champ-Goblem opened 7 months ago

Champ-Goblem commented 7 months ago

We are attempting to test out PVM on GCP through their newer machine types (N4/C3) however when trying to load the PVM kernel module we see the following error in the kernel logs:

[  152.852592] kvm_pvm: Supporting for LA57 host is not fully implemented yet.

We managed to avoid this error by disabling 5-level paging support when compiling the kernel (CONFIG_X86_5LEVEL=n), however, it would be good to know if support for this will be added at some point, and ideally to have this as a way to track that support.

Thanks

laijs commented 7 months ago

@Champ-Goblem Thanks for report, we are adding the support of it. We will report the progresses here as possible as we can.

bysui commented 7 months ago

Hi @Champ-Goblem , We have provided basic support for 5-level paging mode hosts and 5-level paging mode guests. I have tested booting 4-level paging mode guests and 5-level paging mode guests on a 5-level paging mode host, but it's not fully tested, as we don't have CI/CD now. Please note that migrating a 4-level paging mode guest from a 5-level paging mode host to 4-level paging mode host is currently not successful.

If any problems occur, please feel free to report them. Thanks!