qemu-devel
[Top][All Lists]
Advanced

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

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


From: Anthony Liguori
Subject: Re: [Qemu-devel] Re: [PATCH 24/26] Implement PAPR virtual SCSI interface (ibmvscsi)
Date: Wed, 16 Mar 2011 15:19:52 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

On 03/16/2011 03:08 PM, Benjamin Herrenschmidt wrote:
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 ?

No.

Regards,

Anthony Liguori

Cheers,
Ben.







reply via email to

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