diff options
author | Max Bruning <max@joyent.com> | 2011-06-14 05:09:12 -0700 |
---|---|---|
committer | Max Bruning <max@joyent.com> | 2011-06-14 05:09:12 -0700 |
commit | f2ea4b24b0888a77328071b34cffabf7898848cf (patch) | |
tree | e90825388b56d0f5045d654d2c017f3c9c969a6f /kvm_x86.c | |
parent | b87d98280ff1867572f4a67a7ad095a7dd3e1209 (diff) | |
download | illumos-kvm-f2ea4b24b0888a77328071b34cffabf7898848cf.tar.gz |
HVM-329 Implement missing pieces of vmx_fini
Diffstat (limited to 'kvm_x86.c')
-rw-r--r-- | kvm_x86.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -4818,6 +4818,24 @@ kvm_arch_hardware_setup(void) } void +kvm_arch_hardware_unsetup(void) +{ + kvm_x86_ops->hardware_unsetup(); +} + +void +kvm_arch_exit(void) +{ + /* + * XXX if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) + * cpufreq_unregister_notifier(&kvmclock_cpufreq_notifier_block, + * CPUFREQ_TRANSITION_NOTIFIER); + * kvm_x86_ops = NULL; + * XXX kvm_mmu_module_exit(); + */ +} + +void kvm_arch_check_processor_compat(void *rtn) { kvm_x86_ops->check_processor_compatibility(rtn); |