Re: [kvm-devel] include files for kvmclock

2007-11-07 Thread Glauber de Oliveira Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Akio Takebe escreveu: > Hi, Glauber > > This is interesting facility. :-) > >> +#define KVM_HCALL_REGISTER_CLOCK1 >> + >> +union kvm_hv_clock { >> +struct { >> +u64 tsc_mult; >> +u64 now_ns; >> +/* That's t

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 >m

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 clo

Re: [kvm-devel] include files for kvmclock

2007-11-07 Thread Akio Takebe
Hi, Glauber This is interesting facility. :-) >+#define KVM_HCALL_REGISTER_CLOCK 1 >+ >+union kvm_hv_clock { >+ struct { >+ u64 tsc_mult; >+ u64 now_ns; >+ /* That's the wall clock, not the water closet */ >+ u64 wc_sec; >+

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

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 nee

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