]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
PVH: Set bootmethod to PVH
authorColin Percival <cperciva@FreeBSD.org>
Sat, 13 Aug 2022 00:57:19 +0000 (17:57 -0700)
committerColin Percival <cperciva@FreeBSD.org>
Tue, 18 Oct 2022 06:02:22 +0000 (23:02 -0700)
commit13f34e211b5c8311ea751704a0e7fc26e1b53537
tree68b618ec52927edd0763ecd710f3091e4997bd59
parentc4a4011c744a8e75892d126702a825e617d9e064
PVH: Set bootmethod to PVH

Now that we can PVH boot on a non-Xen hypervisor, we shouldn't set
machdep.bootmethod to "XEN".  Instead, set it to "PVH"; there are
other ways to discern the hypervisor.

Reviewed by: royger
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D36191
sys/x86/xen/pv.c