[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] virtio-blk: dataplane: notify guest as a ba
From: |
Ming Lei |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] virtio-blk: dataplane: notify guest as a batch |
Date: |
Sat, 5 Jul 2014 12:21:58 +0800 |
On Sat, Jul 5, 2014 at 12:09 AM, Paolo Bonzini <address@hidden> wrote:
> Il 04/07/2014 17:57, Ming Lei ha scritto:
>
>> But we have two cases to consider:
>>
>> - one submitted IO includes requests from multi vq(virtio-blk or
>> virtio-scsi maybe),
>> and each vq has to notify guest
>>
>> - one submitted IO includes requests from multi bs for scsi device
>>
>> The 2nd case should be easy to handle, but I am a bit headache for the 1st
>> case.
>
>
> You can just have one bottom half per virtqueue. :)
Exactly, or one BH plus per virtqueue bit flag should be enough too, :-)
Thanks,
--
Ming Lei