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. Paolo