[kvm-devel] [PATCH][RESEND] SMP: add vcpu_id field in struct vcpu

2007-07-12 Thread He, Qing
This patch adds a `vcpu_id' field in `struct vcpu', so we can differentiate BSP and APs without pointer comparison or arithmetic. Signed-off-by: Qing He [EMAIL PROTECTED] diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 65ab268..0f7a4d9 100644 --- a/drivers/kvm/kvm.h +++

Re: [kvm-devel] [PATCH][RESEND] SMP: add vcpu_id field in struct vcpu

2007-07-12 Thread Avi Kivity
He, Qing wrote: This patch adds a `vcpu_id' field in `struct vcpu', so we can differentiate BSP and APs without pointer comparison or arithmetic. Applied, thanks. -- error compiling committee.c: too many arguments to function