Re: [PATCH] KVM: x86: Fix KVM_GET_CLOCK

2009-11-03 Thread Marcelo Tosatti
On Tue, Nov 03, 2009 at 12:49:05PM +0100, Jan Kiszka wrote: > The flags field of kvm_clock_data is supposed to indicate the > availability of additional fields one day. There are none yet, so clear > it. Moreover, drop the bogus check of this field and return 0 on > success. > > Signed-off-by: Jan

[PATCH] KVM: x86: Fix KVM_GET_CLOCK

2009-11-03 Thread Jan Kiszka
The flags field of kvm_clock_data is supposed to indicate the availability of additional fields one day. There are none yet, so clear it. Moreover, drop the bogus check of this field and return 0 on success. Signed-off-by: Jan Kiszka --- Note: This replaces "Clear flags field on return from KVM_