Re: [kvm-devel] cpuid should be VM wide instead of vCPU wide.

2007-06-12 Thread Nakajima, Jun
Li, Xin B wrote: > > cpuid was intentionally made per-vcpu, since that's the way real > > hardware works. Note that the ioctl() uses a vcpu fd, not a vm fd. Is > > there a reason why you can't initialize cpuid for all vcpus from qemu? > > > > To my knowledge, for a SMP system, all the CPU should

Re: [kvm-devel] cpuid should be VM wide instead of vCPU wide.

2007-06-12 Thread Li, Xin B
> >cpuid was intentionally made per-vcpu, since that's the way real >hardware works. Note that the ioctl() uses a vcpu fd, not a vm fd. Is >there a reason why you can't initialize cpuid for all vcpus from qemu? > To my knowledge, for a SMP system, all the CPU should be the same, even the steppin

Re: [kvm-devel] cpuid should be VM wide instead of vCPU wide.

2007-06-12 Thread Avi Kivity
Li, Xin B wrote: > Really strange, I sent out this email last night, but it didn't appear > on the list. > > The list is broken, for the last few days. I notified sourceforge. > -Xin > > >> -Original Message- >> From: Li, Xin B >> Sent: Tuesday, June 12, 2007 12:47 AM >> To: kvm-

Re: [kvm-devel] cpuid should be VM wide instead of vCPU wide.

2007-06-12 Thread Li, Xin B
Really strange, I sent out this email last night, but it didn't appear on the list. -Xin >-Original Message- >From: Li, Xin B >Sent: Tuesday, June 12, 2007 12:47 AM >To: kvm-devel@lists.sourceforge.net >Subject: cpuid should be VM wide instead of vCPU wide. > >cpuid should be VM wide in

[kvm-devel] cpuid should be VM wide instead of vCPU wide.

2007-06-12 Thread Li, Xin B
cpuid should be VM wide instead of vCPU wide. Signed-off-by: Xin Li <[EMAIL PROTECTED]> diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index b08272b..eb9a594 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h @@ -355,9 +355,6 @@ struct kvm_vcpu { } tr, es, ds, fs, gs;