|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver
On 24/10/07 07:22, "Jun Kamada" <kama@xxxxxxxxxxxxxx> wrote:
>> Anyway, the right answer is to ensure that your structures compile the same
>> whether compiled with 32-bit or 64-bit gcc. Check the structure sizes,
>> fields sizes and field offsets.
>
> You showed me two options in previous email; i.) all the shared-memory
> structures defined in vscsiif.h compile identically for 32-bit and
> 64-bit mode, ii.) to detect the frontend's 'bitness' in scsiback and
> optionally do 32-to-64 or 64-to-32 conversion.
>
> I consider that current VBD implementation takes option ii.), however
> you recommended me to take option i.) for pvSCSI driver.
> Is my understanding right?
Yes. It was an accident we ended up with structures compiling differently on
32- vs 64-bit. By the time we discovered it was an issue, we couldn't break
backward compatibility.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, (continued)
- RE: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, James Harper
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, Keir Fraser
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, Jun Kamada
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, Keir Fraser
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, Jun Kamada
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, Keir Fraser
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, Jun Kamada
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver,
Keir Fraser <=
- Re: [Xen-devel] [PATCH 0/5] pvSCSI (SCSI pass through) driver, Jun Kamada
- [Xen-devel] [PATCH 4/6] pvSCSI (SCSI pass through) driver, Jun Kamada
- [Xen-devel] [PATCH 0/6] pvSCSI (SCSI pass through) driver, Jun Kamada
- [Xen-devel] Re: [PATCH 0/6] pvSCSI (SCSI pass through) driver, Keir Fraser
- [Xen-devel] Re: [PATCH 0/6] pvSCSI (SCSI pass through) driver, Jun Kamada
- [Xen-devel] Re: [PATCH 0/6] pvSCSI (SCSI pass through) driver, Keir Fraser
- [Xen-devel] Re: [PATCH 0/6] pvSCSI (SCSI pass through) driver, Jun Kamada
- [Xen-devel] Re: [PATCH 0/6] pvSCSI (SCSI pass through) driver, Keir Fraser
- [Xen-devel] [PATCH 6/6] pvSCSI (SCSI pass through) driver, Jun Kamada
- [Xen-devel] [PATCH 3/6] pvSCSI (SCSI pass through) driver, Jun Kamada
|
|
|
|
|