qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 24/26] Implement PAPR virtual SCSI interface (ib


From: Benjamin Herrenschmidt
Subject: [Qemu-devel] Re: [PATCH 24/26] Implement PAPR virtual SCSI interface (ibmvscsi)
Date: Thu, 17 Mar 2011 07:08:47 +1100

On Wed, 2011-03-16 at 17:41 +0100, Alexander Graf wrote:

> > +/*
> > + * Common MAD header
> > + */
> > +struct mad_common {
> > +    uint32_t type;
> > +    uint16_t status;
> > +    uint16_t length;
> > +    uint64_t tag;
> 
> Is this an in-memory representation? If so, it should be packed, right? 
> Same goes for the ones below.

Well, all the fields are naturally aligned, as is the structure itself,
do we really need to pack ?

Cheers,
Ben.





reply via email to

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