[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [virtio] [OASIS Issue Tracker] Created: (VIRTIO-9) Change config space, ring and headers to always be little endian
On Mon, Aug 19, 2013 at 05:57:49PM +0930, Rusty Russell wrote: > OASIS Issues Tracker <workgroup_mailer@lists.oasis-open.org> writes: What is the transition plan for existing virtio implementations? On x86 it's not an issue since guest endian == little-endian. Not sure about others. > @@ -1586,28 +1580,28 @@ The driver queues requests to the virtqueue, and they are used by > the device (not necessarily in order). Each request is of form: > > struct virtio_blk_req { > - u32 type; > - u32 ioprio; > - u64 sector; > + le32 type; > + le32 ioprio; > + le64 sector; > char data[][512]; > - u8 status; > + le8 status; spurious change, there is no le8.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]