Re: [kvm-devel] include files for kvmclock

2007-11-07 Thread Glauber de Oliveira Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy Fitzhardinge escreveu: Avi Kivity wrote: Glauber de Oliveira Costa wrote: +union kvm_hv_clock { + struct { + u64 tsc_mult; + u64 now_ns; + /* That's the wall clock, not the water closet

Re: [kvm-devel] include files for kvmclock

2007-11-07 Thread Akio Takebe
Hi, Why does kvm_hv_clock need page_align? Each vcpu will register a page on its own. In the guest side, it will be an array of pages. So, we make it page sized. And also the kvm_hv_clock is alloced with kvm_vcpu, There's no requirements on the host part at all. So it doesn't really matter.

Re: [kvm-devel] include files for kvmclock

2007-11-06 Thread Jeremy Fitzhardinge
Glauber de Oliveira Costa wrote: This patch introduces the include files for kvm clock. They'll be needed for both guest and host part. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- include/asm-x86/kvm_para.h | 23 +++ include/linux/kvm.h|

Re: [kvm-devel] include files for kvmclock

2007-11-06 Thread Glauber de Oliveira Costa
On 11/6/07, Glauber de Oliveira Costa [EMAIL PROTECTED] wrote: This patch introduces the include files for kvm clock. They'll be needed for both guest and host part. And of course, this was my test files by mistake ;-) Oh god... ;-) Patches aren't numbered but this one should go first. And

[kvm-devel] include files for kvmclock

2007-11-06 Thread Glauber de Oliveira Costa
This patch introduces the include files for kvm clock. They'll be needed for both guest and host part. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- include/asm-x86/kvm_para.h | 23 +++ include/linux/kvm.h|1 + include/linux/kvm_para.h | 20

Re: [kvm-devel] include files for kvmclock

2007-11-06 Thread Glauber de Oliveira Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy Fitzhardinge escreveu: Glauber de Oliveira Costa wrote: This patch introduces the include files for kvm clock. They'll be needed for both guest and host part. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] ---

Re: [kvm-devel] include files for kvmclock

2007-11-06 Thread Avi Kivity
Glauber de Oliveira Costa wrote: +union kvm_hv_clock { + struct { + u64 tsc_mult; + u64 now_ns; + /* That's the wall clock, not the water closet */ + u64 wc_sec; + u64 wc_nsec; Do we really need 128-bit time?

Re: [kvm-devel] include files for kvmclock

2007-11-06 Thread Jeremy Fitzhardinge
Avi Kivity wrote: Glauber de Oliveira Costa wrote: +union kvm_hv_clock { + struct { + u64 tsc_mult; + u64 now_ns; + /* That's the wall clock, not the water closet */ + u64 wc_sec; + u64 wc_nsec;