summaryrefslogtreecommitdiff
path: root/kvm_x86.c
diff options
context:
space:
mode:
authorMax Bruning <max@joyent.com>2011-06-14 05:09:12 -0700
committerMax Bruning <max@joyent.com>2011-06-14 05:09:12 -0700
commitf2ea4b24b0888a77328071b34cffabf7898848cf (patch)
treee90825388b56d0f5045d654d2c017f3c9c969a6f /kvm_x86.c
parentb87d98280ff1867572f4a67a7ad095a7dd3e1209 (diff)
downloadillumos-kvm-f2ea4b24b0888a77328071b34cffabf7898848cf.tar.gz
HVM-329 Implement missing pieces of vmx_fini
Diffstat (limited to 'kvm_x86.c')
-rw-r--r--kvm_x86.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/kvm_x86.c b/kvm_x86.c
index 04dba65..25d350d 100644
--- a/kvm_x86.c
+++ b/kvm_x86.c
@@ -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);