summaryrefslogtreecommitdiff
path: root/kvm_x86.c
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-06-07 10:59:02 -0700
committerRobert Mustacchi <rm@joyent.com>2011-06-07 10:59:02 -0700
commit15e76b055f98feb7f40d56bed2b78c6340a3270c (patch)
tree69cbb7c5926205caca3ebaa8f0ab8b2f45b0268f /kvm_x86.c
parent2364bf7d769a49bcbd609f713f33ec89c68f1443 (diff)
downloadillumos-kvm-15e76b055f98feb7f40d56bed2b78c6340a3270c.tar.gz
HVM-314 make_all_cpus_request shouldn't be extern in kvm.c
HVM-315 Vars in kvm.c missing static keyword
Diffstat (limited to 'kvm_x86.c')
-rw-r--r--kvm_x86.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kvm_x86.c b/kvm_x86.c
index ffb8e02..9ea4429 100644
--- a/kvm_x86.c
+++ b/kvm_x86.c
@@ -1324,3 +1324,9 @@ kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu)
vcpu->arch.nmi_pending ||
(kvm_arch_interrupt_allowed(vcpu) && kvm_cpu_has_interrupt(vcpu)));
}
+
+void
+kvm_reload_remote_mmus(struct kvm *kvm)
+{
+ make_all_cpus_request(kvm, KVM_REQ_MMU_RELOAD);
+}