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

2006-12-31 Thread Luca
On 12/31/06, Avi Kivity <[EMAIL PROTECTED]> wrote: 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

Re: [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

Re: [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

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

2006-12-31 Thread Luca
On 12/31/06, Avi Kivity [EMAIL PROTECTED] wrote: 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]