Fix a few CPUID emulation issues:
authormlarkin <mlarkin@openbsd.org>
Sat, 23 Jul 2016 07:25:29 +0000 (07:25 +0000)
committermlarkin <mlarkin@openbsd.org>
Sat, 23 Jul 2016 07:25:29 +0000 (07:25 +0000)
commit57e025916cd91551791d99f73fb8de56495077c6
tree8c996b2c8d28f8a217cdf2330ea812a49a4253da
parent71f5e94a53f96c16f2cf005cacc2bf9498933f8d
Fix a few CPUID emulation issues:

Don't advertise a hyperthreaded CPU. This doesn't make a lot of sense now
as we only provide UP guest support. This, combined with the other CPUID
issues fixed, fooled NetBSD's topology enumeration code into thinking we
had an unsupportable core/thread/package configuration.

Also fixed the unsupported CPUID functions by returning 0 in the return
registers instead of leaving whatever trash happened to be there before
the call was made.
sys/arch/amd64/amd64/vmm.c