[kvm-devel] [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Luca Tettamanti
Hello, I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled few hours ago), configured with SMP and PREEMPT. I'm hitting 2 different warnings: BUG: using smp_processor_id() in preemptible [0001] code: kvm/7726 caller is vmx_create_vcpu+0x9/0x2f [kvm_intel] [b01ccbc8]

Re: [kvm-devel] [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Avi Kivity
Luca Tettamanti wrote: Hello, I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled few hours ago), configured with SMP and PREEMPT. I'm hitting 2 different warnings: BUG: using smp_processor_id() in preemptible [0001] code: kvm/7726 caller is vmx_create_vcpu+0x9/0x2f