On 10/18/2012 12:20 PM, Rusty Russell wrote: > Asias He <asias@xxxxxxxxxx> writes: >>>> +#define BLK_HDR 0 >>> >>> What's this for, exactly? Please add a comment. >> >> The block headr is in the first and separate buffer. > > Please don't assume this! We're trying to fix all the assumptions in > qemu at the moment. > > vhost_net handles this correctly, taking bytes off the descriptor chain > as required. Well, I will switch to "no assumption about the buffer layout" in next version. -- Asias -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html