summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm/vmm_lapic.c
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2013-12-03 00:43:31 +0000
committerneel <neel@FreeBSD.org>2013-12-03 00:43:31 +0000
commita581c446d66d684359df9582c6a14855d6e3cdb1 (patch)
treee093dc29b32757625454b62ae109d5a5d20603e8 /sys/amd64/vmm/vmm_lapic.c
parentb07191879f76139f3566e59eff6486140b735878 (diff)
downloadFreeBSD-src-a581c446d66d684359df9582c6a14855d6e3cdb1.zip
FreeBSD-src-a581c446d66d684359df9582c6a14855d6e3cdb1.tar.gz
Rename 'vm_interrupt_hostcpu()' to 'vcpu_notify_event()' because the function
has outgrown its original name. Originally this function simply sent an IPI to the host cpu that a vcpu was executing on but now it does a lot more than just that. Reviewed by: grehan@
Diffstat (limited to 'sys/amd64/vmm/vmm_lapic.c')
-rw-r--r--sys/amd64/vmm/vmm_lapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/vmm/vmm_lapic.c b/sys/amd64/vmm/vmm_lapic.c
index 465ce6c..5217529 100644
--- a/sys/amd64/vmm/vmm_lapic.c
+++ b/sys/amd64/vmm/vmm_lapic.c
@@ -75,7 +75,7 @@ lapic_set_intr(struct vm *vm, int cpu, int vector, bool level)
vlapic = vm_lapic(vm, cpu);
vlapic_set_intr_ready(vlapic, vector, level);
- vm_interrupt_hostcpu(vm, cpu);
+ vcpu_notify_event(vm, cpu);
return (0);
}
OpenPOWER on IntegriCloud