From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Date: Wed, 25 Jun 2008 15:55:53 +0000 Subject: Re: [PATCH] [v2] Remove use of bit fields in kvm trace structure Message-Id: <1214409353.1746.5.camel@localhost.localdomain> List-Id: References: <5ba8c03afeab340508e0.1214333686@thinkpadL> In-Reply-To: <5ba8c03afeab340508e0.1214333686@thinkpadL> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Avi Kivity Cc: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, Jerone Young On Tue, 2008-06-24 at 13:54 -0500, Jerone Young wrote: > 2 files changed, 30 insertions(+), 11 deletions(-) > include/linux/kvm.h | 17 ++++++++++++++--- > virt/kvm/kvm_trace.c | 24 ++++++++++++++++-------- > > > *Updates: > Create global definitions for setting trace records as opposed to > explicitly setting them inside of a function. > > This patch fixes kvmtrace use on big endian systems. When using bit > fields the compiler will lay data out in the wrong order expected when > laid down into a file. This fixes it by using one variable instead of > using bit fields. > > Signed-off-by: Jerone Young Acked-by: Hollis Blanchard Avi, if this is OK now, please also apply Jerone's earlier patches: [PATCH 2 of 3] Move KVM TRACE DEFINITIONS to common header [PATCH 3 of 3] Add new KVM TRACE events (and add my Acked-by to those as well). -- Hollis Blanchard IBM Linux Technology Center