Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210548
b: refs/heads/master
c: da908f2
h: refs/heads/master
v: v3
  • Loading branch information
Zachary Amsden authored and Marcelo Tosatti committed Sep 9, 2010
1 parent a9ab08f commit bca9717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eebb5f31b8d9a2620dcf32297096f8ce1240b179
refs/heads/master: da908f2fb4e783c2a4de751fb90f11a0dd041161
5 changes: 2 additions & 3 deletions trunk/virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1958,10 +1958,10 @@ static int kvm_cpu_hotplug(struct notifier_block *notifier, unsigned long val,
cpu);
hardware_disable(NULL);
break;
case CPU_ONLINE:
case CPU_STARTING:
printk(KERN_INFO "kvm: enabling virtualization on CPU%d\n",
cpu);
smp_call_function_single(cpu, hardware_enable, NULL, 1);
hardware_enable(NULL);
break;
}
return NOTIFY_OK;
Expand Down Expand Up @@ -2096,7 +2096,6 @@ int kvm_io_bus_unregister_dev(struct kvm *kvm, enum kvm_bus bus_idx,

static struct notifier_block kvm_cpu_notifier = {
.notifier_call = kvm_cpu_hotplug,
.priority = 20, /* must be > scheduler priority */
};

static int vm_stat_get(void *_offset, u64 *val)
Expand Down

0 comments on commit bca9717

Please sign in to comment.