On Sat, Jul 5, 2014 at 12:09 AM, Paolo Bonzini <pbonz...@redhat.com> 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