Re: [PATCH 1/6] virtio_host: host-side implementation of virtio rings.

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

 



On Mon, Jan 21, 2013 at 3:36 AM, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
> Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx> writes:
>> On Thu, Jan 17, 2013 at 12:23 PM, Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:
>>> in otgher words, we might need to split a single desc to multiple
>>> iov entries.
>>
>> Splitting descriptors doesn't work for me. As described earlier, I
>> receive one IP-frame for each descriptor. So I need to keep
>> the original boundaries.
>
> Yes, but the _kern helpers don't do range checking or offsetting at the
> moment, so they'll be preserved.
>
> If you want to do range checking, I can add that...

I don't think I need that. Initially I can just check if the received address
is readable.

Regards,
Sjur
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux