diff options
author | neel <neel@FreeBSD.org> | 2014-10-18 05:39:32 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2014-10-18 05:39:32 +0000 |
commit | d5ca76422abad1ccdac4e125d13cef3d28025dc3 (patch) | |
tree | 8915f0c4974897ba4b82cb1bd3bb516818f06703 /sys | |
parent | 170f49cd346e3fe89bb5fd6322940694477b7002 (diff) | |
download | FreeBSD-src-d5ca76422abad1ccdac4e125d13cef3d28025dc3.zip FreeBSD-src-d5ca76422abad1ccdac4e125d13cef3d28025dc3.tar.gz |
Don't advertise support for the NodeID MSR since bhyve doesn't emulate it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/vmm/x86.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/vmm/x86.c b/sys/amd64/vmm/x86.c index 0b32eef..cf0b54b 100644 --- a/sys/amd64/vmm/x86.c +++ b/sys/amd64/vmm/x86.c @@ -171,6 +171,9 @@ x86_emulate_cpuid(struct vm *vm, int vcpu_id, */ regs[2] &= ~AMDID2_IBS; + /* NodeID MSR not available */ + regs[2] &= ~AMDID2_NODE_ID; + /* * Hide rdtscp/ia32_tsc_aux until we know how * to deal with them. |