[Top][All Lists]

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

Re: [Qemu-block] [Qemu-devel] [PATCH 05/40] virtio: read/write the VirtQ

From: Paolo Bonzini
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH 05/40] virtio: read/write the VirtQueueElement a field at a time
Date: Mon, 30 Nov 2015 11:37:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 30/11/2015 10:47, Fam Zheng wrote:
>> > +    swap = (elem->out_num & 0xFFFF0000) || (elem->in_num & 0xFFFF0000);
> This is interesting, out_num and in_num are 32 bit numbers but there max 
> values
> are both VIRTQUEUE_MAX_SIZE (thanks for explaining this on IRC), so it can be 
> a
> clue for the source using a different endianness.

Yes, good idea.


reply via email to

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