Messages in this thread | | | Date | Mon, 31 May 2010 17:03:29 +0300 | From | Avi Kivity <> | Subject | Re: [PATCH] Add Documentation/kvm/msr.txt |
| |
On 05/31/2010 04:49 PM, Glauber Costa wrote: > >> How are we failing to meet it? All guests align to at least four bytes. >> > static struct pvclock_wall_clock wall_clock; > > Unless there is something that the compiler does that I should take for granted, > there is no alignment directive in there, and it could be anywhere. >
The compiler will align u32 and larger to 4 bytes on i386 (and align u64 to 8 bytes on x86_64).
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
| |