diff options
author | grehan <grehan@FreeBSD.org> | 2013-09-17 17:56:53 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2013-09-17 17:56:53 +0000 |
commit | a83c14de5c6428815c4e5e035c01da719aa39928 (patch) | |
tree | 6c3cf75460308ec3dc2e9aa51b1a9a3b992abf0a /sys/amd64/vmm | |
parent | 9d999e98ee963911f089eb233565324e1796ef03 (diff) | |
download | FreeBSD-src-a83c14de5c6428815c4e5e035c01da719aa39928.zip FreeBSD-src-a83c14de5c6428815c4e5e035c01da719aa39928.tar.gz |
Hide TSC-deadline APIC timer support from guests. This mode
isn't yet implemented in bhyve's APIC emulation.
Reviewed by: neel
Approved by: re@ (blanket)
Diffstat (limited to 'sys/amd64/vmm')
-rw-r--r-- | sys/amd64/vmm/x86.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/amd64/vmm/x86.c b/sys/amd64/vmm/x86.c index 4416c53..c23f1fc 100644 --- a/sys/amd64/vmm/x86.c +++ b/sys/amd64/vmm/x86.c @@ -163,7 +163,12 @@ x86_emulate_cpuid(struct vm *vm, int vcpu_id, * Hide the performance and debug features. */ regs[2] &= ~CPUID2_PDCM; - + + /* + * No TSC deadline support in the APIC yet + */ + regs[2] &= ~CPUID2_TSCDLT; + /* * Hide thermal monitoring */ |