HomeFreeBSD

loader.efi: use stricter check for Hyper-V

Description

loader.efi: use stricter check for Hyper-V

Some other hypervisors like Xen can pretend to be Hyper-V but obviously
they can't implement all Hyper-V features. Let's make sure we're genuine
Hyper-V here.

Also fix some minor coding style issues.

PR: 211746
MFC after: 2 weeks
Sponsored by: Microsoft

Details

Provenance
dexuanAuthored on
Parents
rS315234: Improvements around attach, reset and detach.
Branches
Unknown
Tags
Unknown