qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/4] trace: Fix simple trace dropped event recor


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/4] trace: Fix simple trace dropped event record for big endian
Date: Tue, 5 Feb 2013 21:56:48 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jan 31, 2013 at 12:18:52PM +0100, Laszlo Ersek wrote:
> BTW I wonder if trace files are endianness-dependent by design --
> normally you'd store them in network byte order (= big endian) only and
> use htonX() when writing, an ntohX() when reading.

Yes, they are host endian but the magic number tells you whether they
are in big or little endian.  So if a parser cared it could handle both
endiannesses.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]