Re: [PATCH] [v2] Remove use of bit fields in kvm trace structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jyoung5@xxxxxxxxxx>

Acked-by: Hollis Blanchard <hollisb@xxxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux