From: Glauber Costa Subject: Re: VMSTATE_U64 vs. VMSTATE_UINT64 Date: Wed, 04 May 2011 16:44:03 -0300 Message-ID: <1304538243.4737.33.camel@mothafucka.localdomain> References: <4DC19538.8010207@siemens.com> <1304532978.4737.32.camel@mothafucka.localdomain> <4DC199CB.30001@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Juan Quintela , kvm To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:22286 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755222Ab1EDToI (ORCPT ); Wed, 4 May 2011 15:44:08 -0400 In-Reply-To: <4DC199CB.30001@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2011-05-04 at 20:24 +0200, Jan Kiszka wrote: > On 2011-05-04 20:16, Glauber Costa wrote: > > On Wed, 2011-05-04 at 20:04 +0200, Jan Kiszka wrote: > >> Hi guys, > >> > >> can anyone comment on commit e4d6d49061 ("introduce VMSTATE_U64") in > >> qemu-kvm again? I strongly suspect this thing was only introduced to be > >> able to grab from a __u64 (for kvmclock) without generating a compiler > >> warning that you may got when using uint64_t, right? > >> > >> Thanks, > >> Jan > >> > > I don't remember if it was kvmclock. IIRC, it was my irqchip > > implementation at the time. But I do remember the reason: it was indeed > > to be able to grab kernel data structures directly without a compile > > warning. > > > > Perfect. Then I will also include a revert/drop patch in my series that > switches the only user, kvmclock, to the upstream version. > > Jan > I am fine with that.